Github user zzcclp commented on the issue:
https://github.com/apache/carbondata/pull/1224
@jackylk , I found there is a test case in
org.apache.carbondata.spark.testsuite.dataload.TestGlobalSortDataLoad, but now
it's ignore, just change it to test, OK?
```
// Waiting for merge [CARBONDATA-1145]
ignore("Test GLOBAL_SORT with SINGLE_PASS") {
sql(s"LOAD DATA LOCAL INPATH '$filePath' INTO TABLE carbon_globalsort "
+
"OPTIONS('SORT_SCOPE'='GLOBAL_SORT', 'SINGLE_PASS'='TRUE')")
assert(getIndexFileCount("carbon_globalsort") === 3)
checkAnswer(sql("SELECT COUNT(*) FROM carbon_globalsort"), Seq(Row(12)))
checkAnswer(sql("SELECT * FROM carbon_globalsort ORDER BY name"),
sql("SELECT * FROM carbon_localsort_once ORDER BY name"))
}
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---