bigxiaochu commented on a change in pull request #1312:
URL: https://github.com/apache/kylin/pull/1312#discussion_r452297764



##########
File path: 
kylin-spark-project/kylin-spark-engine/src/main/java/org/apache/kylin/engine/spark/source/CsvSource.java
##########
@@ -59,7 +59,12 @@ public CsvSource(KylinConfig config) {
                         && (parameters != null && parameters.get("separator") 
== null)) {
                     path = "file:///" + new File(getUtMetaDir(),
                             "../../examples/test_case_data/parquet_test/data/" 
+ table.identity() + ".csv")
-                                    .getAbsolutePath();
+                            .getAbsolutePath();
+                    separator = "";
+                } else if (kylinConfig.getDeployEnv().equals("LOCAL")) {
+                    path = "file:///" + new File(getUtMetaDir(),
+                            "../parquet_test/data/" + table.identity() + 
".csv")

Review comment:
       why ut path is "../../examples/test_case_data/parquet_test/data/", but 
local path is  "../parquet_test/data/"?
   can they use same path?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to