Login  Register

[GitHub] [carbondata] Indhumathi27 commented on a change in pull request #4152: [CARBONDATA-4212] Fix case sensitive issue with Update query having Alias Table name

Posted by GitBox on Jun 18, 2021; 9:23pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-Indhumathi27-opened-a-new-pull-request-4152-CARBONDATA-4212-Fix-case-sensitive-isse-tp108950p108980.html


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



##########
File path: integration/spark/src/test/scala/org/apache/carbondata/spark/testsuite/iud/UpdateCarbonTableTestCase.scala
##########
@@ -1178,6 +1178,15 @@ class UpdateCarbonTableTestCase extends QueryTest with BeforeAndAfterAll {
     }
   }
 
+  test("update table having alias table name - case insensitive check") {
+    sql("""drop table if exists iud.zerorows""").collect()
+    sql("""create table iud.zerorows (c1 string,c2 int,c3 string,c5 string) STORED AS carbondata""")
+    sql(s"""LOAD DATA LOCAL INPATH '$resourcesPath/IUD/dest.csv' INTO table iud.zerorows""")
+    sql("update iud.zerorows up_TAble set(up_table.c1)=('abc') where up_TABLE.c2=1")

Review comment:
       done




--
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:
[hidden email]