Indhumathi27 commented on a change in pull request #4253:
URL: https://github.com/apache/carbondata/pull/4253#discussion_r834220202



##########
File path: 
integration/spark/src/test/scala/org/apache/spark/sql/carbondata/datasource/SparkCarbonDataSourceBinaryTest.scala
##########
@@ -657,6 +657,18 @@ class SparkCarbonDataSourceBinaryTest extends QueryTest 
with BeforeAndAfterAll {
     || exception.getMessage.contains("DELETE TABLE is not supported 
temporarily."))
   }
 
+  test("test load with options on parquet table") {
+    sql("drop table if exists parquet_table")
+    sql("create table parquet_table(empno int, empname string, projdate Date) 
using parquet")
+    val ex = intercept[AnalysisException] {
+      sql(
+        s"""LOAD DATA local inpath '$resourcesPath/data_big.csv' INTO TABLE 
parquet_table

Review comment:
       can you add a check for load without options also




-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@carbondata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to