[GitHub] [carbondata] ShreelekhyaG opened a new pull request #3966: [WIP] Create MV failed on table with geospatial index using carbonsession.

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

[GitHub] [carbondata] ShreelekhyaG opened a new pull request #3966: [WIP] Create MV failed on table with geospatial index using carbonsession.

GitBox

ShreelekhyaG opened a new pull request #3966:
URL: https://github.com/apache/carbondata/pull/3966


    ### Why is this PR needed?
    Create MV failed on the table with geospatial index using carbonsession.
   Failed with, java.lang.ClassNotFoundException: org.apache.carbondata.geo.geohashindex
   
    ### What changes were proposed in this PR?
   When geo table is created with carbon session, the spatial properties are normalized and converted to lower case. Added spatial index class into `noConverterList`.
       
    ### Does this PR introduce any user interface change?
    - No
   
    ### Is any new testcase added?
    - No
   
       
   


----------------------------------------------------------------
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] CarbonDataQA1 commented on pull request #3966: [WIP] Create MV failed on table with geospatial index using carbonsession.

GitBox

CarbonDataQA1 commented on pull request #3966:
URL: https://github.com/apache/carbondata/pull/3966#issuecomment-703626820


   Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/4299/
   


----------------------------------------------------------------
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] CarbonDataQA1 commented on pull request #3966: [WIP] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

CarbonDataQA1 commented on pull request #3966:
URL: https://github.com/apache/carbondata/pull/3966#issuecomment-703634101


   Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/2551/
   


----------------------------------------------------------------
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 #3966: [CARBONDATA-4023] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

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



##########
File path: integration/spark/src/main/scala/org/apache/spark/sql/parser/CarbonSparkSqlParserUtil.scala
##########
@@ -562,8 +562,11 @@ object CarbonSparkSqlParserUtil {
    * @return returns <true> if lower case conversion is needed else <false>
    */
   def needToConvertToLowerCase(key: String): Boolean = {
-    val noConvertList = Array(CarbonCommonConstants.COMPRESSOR, "PATH", "bad_record_path",
+    var noConvertList = Array(CarbonCommonConstants.COMPRESSOR, "PATH", "bad_record_path",
       "timestampformat", "dateformat")
+    if (key.startsWith(CarbonCommonConstants.SPATIAL_INDEX) && key.endsWith("class")) {

Review comment:
       ```suggestion
       if (key.startsWith(CarbonCommonConstants.SPATIAL_INDEX) && key.endsWith(".class")) {
   ```




----------------------------------------------------------------
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] ShreelekhyaG commented on a change in pull request #3966: [CARBONDATA-4023] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

ShreelekhyaG commented on a change in pull request #3966:
URL: https://github.com/apache/carbondata/pull/3966#discussion_r501611619



##########
File path: integration/spark/src/main/scala/org/apache/spark/sql/parser/CarbonSparkSqlParserUtil.scala
##########
@@ -562,8 +562,11 @@ object CarbonSparkSqlParserUtil {
    * @return returns <true> if lower case conversion is needed else <false>
    */
   def needToConvertToLowerCase(key: String): Boolean = {
-    val noConvertList = Array(CarbonCommonConstants.COMPRESSOR, "PATH", "bad_record_path",
+    var noConvertList = Array(CarbonCommonConstants.COMPRESSOR, "PATH", "bad_record_path",
       "timestampformat", "dateformat")
+    if (key.startsWith(CarbonCommonConstants.SPATIAL_INDEX) && key.endsWith("class")) {

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] CarbonDataQA1 commented on pull request #3966: [CARBONDATA-4023] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

CarbonDataQA1 commented on pull request #3966:
URL: https://github.com/apache/carbondata/pull/3966#issuecomment-705521165


   Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/4338/
   


----------------------------------------------------------------
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] CarbonDataQA1 commented on pull request #3966: [CARBONDATA-4023] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

CarbonDataQA1 commented on pull request #3966:
URL: https://github.com/apache/carbondata/pull/3966#issuecomment-705526767


   Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/2588/
   


----------------------------------------------------------------
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] ShreelekhyaG commented on a change in pull request #3966: [CARBONDATA-4023] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

ShreelekhyaG commented on a change in pull request #3966:
URL: https://github.com/apache/carbondata/pull/3966#discussion_r501611619



##########
File path: integration/spark/src/main/scala/org/apache/spark/sql/parser/CarbonSparkSqlParserUtil.scala
##########
@@ -562,8 +562,11 @@ object CarbonSparkSqlParserUtil {
    * @return returns <true> if lower case conversion is needed else <false>
    */
   def needToConvertToLowerCase(key: String): Boolean = {
-    val noConvertList = Array(CarbonCommonConstants.COMPRESSOR, "PATH", "bad_record_path",
+    var noConvertList = Array(CarbonCommonConstants.COMPRESSOR, "PATH", "bad_record_path",
       "timestampformat", "dateformat")
+    if (key.startsWith(CarbonCommonConstants.SPATIAL_INDEX) && key.endsWith("class")) {

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] CarbonDataQA1 commented on pull request #3966: [CARBONDATA-4023] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

CarbonDataQA1 commented on pull request #3966:
URL: https://github.com/apache/carbondata/pull/3966#issuecomment-705521165






----------------------------------------------------------------
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 #3966: [CARBONDATA-4023] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

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



##########
File path: integration/spark/src/main/scala/org/apache/spark/sql/parser/CarbonSparkSqlParserUtil.scala
##########
@@ -562,8 +562,11 @@ object CarbonSparkSqlParserUtil {
    * @return returns <true> if lower case conversion is needed else <false>
    */
   def needToConvertToLowerCase(key: String): Boolean = {
-    val noConvertList = Array(CarbonCommonConstants.COMPRESSOR, "PATH", "bad_record_path",
+    var noConvertList = Array(CarbonCommonConstants.COMPRESSOR, "PATH", "bad_record_path",
       "timestampformat", "dateformat")
+    if (key.startsWith(CarbonCommonConstants.SPATIAL_INDEX) && key.endsWith("class")) {

Review comment:
       ```suggestion
       if (key.startsWith(CarbonCommonConstants.SPATIAL_INDEX) && key.endsWith(".class")) {
   ```




----------------------------------------------------------------
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 #3966: [CARBONDATA-4023] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

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


   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 #3966: [CARBONDATA-4023] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

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


   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] CarbonDataQA1 commented on pull request #3966: [CARBONDATA-4023] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

CarbonDataQA1 commented on pull request #3966:
URL: https://github.com/apache/carbondata/pull/3966#issuecomment-706893465


   Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/4366/
   


----------------------------------------------------------------
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] CarbonDataQA1 commented on pull request #3966: [CARBONDATA-4023] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

CarbonDataQA1 commented on pull request #3966:
URL: https://github.com/apache/carbondata/pull/3966#issuecomment-706895546


   Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/2616/
   


----------------------------------------------------------------
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 #3966: [CARBONDATA-4023] Create MV failed on table with geospatial index using carbonsession.

GitBox
In reply to this post by GitBox

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


   


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