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

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

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

GitBox

Indhumathi27 opened a new pull request #4152:
URL: https://github.com/apache/carbondata/pull/4152


    ### Why is this PR needed?
    Update Query having Alias Table name, fails with Unsupported complex types error, even if table does not any.
   
    ### What changes were proposed in this PR?
   Check the colmnName irrespective of case
       
    ### Does this PR introduce any user interface change?
    - No
   
    ### Is any new testcase added?
    - Yes
   
       
   


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


Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] asfgit closed pull request #4152: [CARBONDATA-4212] Fix case sensitive issue with Update query having Alias Table name

GitBox

asfgit closed pull request #4152:
URL: https://github.com/apache/carbondata/pull/4152


   


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


Reply | Threaded
Open this post in threaded view
|

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

GitBox
In reply to this post by GitBox

CarbonDataQA2 commented on pull request #4152:
URL: https://github.com/apache/carbondata/pull/4152#issuecomment-863913376






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


Reply | Threaded
Open this post in threaded view
|

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

GitBox
In reply to this post by GitBox

akashrn5 commented on pull request #4152:
URL: https://github.com/apache/carbondata/pull/4152#issuecomment-864047289


   LGTM


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


Reply | Threaded
Open this post in threaded view
|

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

GitBox
In reply to this post by GitBox

Indhumathi27 commented on pull request #4152:
URL: https://github.com/apache/carbondata/pull/4152#issuecomment-863959124


   retest this please


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


Reply | Threaded
Open this post in threaded view
|

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

GitBox
In reply to this post by GitBox

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]


Reply | Threaded
Open this post in threaded view
|

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

GitBox
In reply to this post by GitBox

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



##########
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:
       here change column name also to other case, so even that will be validated in test case




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