[CARBONDATA-2066] Add Local keyword when loading data to hive table Add Local keyword when loading data to hive table
This closes #1845 Project: http://git-wip-us.apache.org/repos/asf/carbondata/repo Commit: http://git-wip-us.apache.org/repos/asf/carbondata/commit/2e6bc66f Tree: http://git-wip-us.apache.org/repos/asf/carbondata/tree/2e6bc66f Diff: http://git-wip-us.apache.org/repos/asf/carbondata/diff/2e6bc66f Branch: refs/heads/carbonstore Commit: 2e6bc66f471c179780aa472efc30d51f5e25e743 Parents: f62f2ca Author: Raghunandan S <[email protected]> Authored: Tue Jan 23 12:59:34 2018 +0530 Committer: chenliang613 <[email protected]> Committed: Sun Jan 28 14:33:04 2018 +0800 ---------------------------------------------------------------------- .../spark/testsuite/primitiveTypes/DoubleDataTypeTestCase.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/carbondata/blob/2e6bc66f/integration/spark-common-test/src/test/scala/org/apache/carbondata/integration/spark/testsuite/primitiveTypes/DoubleDataTypeTestCase.scala ---------------------------------------------------------------------- diff --git a/integration/spark-common-test/src/test/scala/org/apache/carbondata/integration/spark/testsuite/primitiveTypes/DoubleDataTypeTestCase.scala b/integration/spark-common-test/src/test/scala/org/apache/carbondata/integration/spark/testsuite/primitiveTypes/DoubleDataTypeTestCase.scala index 1d63eda..fe80cd3 100644 --- a/integration/spark-common-test/src/test/scala/org/apache/carbondata/integration/spark/testsuite/primitiveTypes/DoubleDataTypeTestCase.scala +++ b/integration/spark-common-test/src/test/scala/org/apache/carbondata/integration/spark/testsuite/primitiveTypes/DoubleDataTypeTestCase.scala @@ -82,7 +82,7 @@ class DoubleDataTypeTestCase extends QueryTest with BeforeAndAfterAll { sql("create table uniq_carbon(name string, double_column double) stored by 'carbondata' TBLPROPERTIES ('DICTIONARY_INCLUDE'='double_column')") sql(s"load data inpath '$resourcesPath/uniq.csv' into table uniq_carbon") sql("create table uniq_hive(name string, double_column double) ROW FORMAT DELIMITED FIELDS TERMINATED BY ','") - sql(s"load data inpath '$resourcesPath/uniqwithoutheader.csv' into table uniq_hive") + sql(s"load data local inpath '$resourcesPath/uniqwithoutheader.csv' into table uniq_hive") checkAnswer(sql("select * from uniq_carbon where double_column>=11"), sql("select * from uniq_hive where double_column>=11")) }
