niuge01 opened a new pull request #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556 ### Why is this PR needed? CarbonInsertFromStageCommand with complex data type are not working fine. ### What changes were proposed in this PR? For the partition table, the complex data type of target table should be converted to the binary data type. ### 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] With regards, Apache Git Services |
niuge01 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570229518 please test this ---------------------------------------------------------------- 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] With regards, Apache Git Services |
In reply to this post by GitBox
jackylk commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570236974 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] With regards, Apache Git Services |
In reply to this post by GitBox
CarbonDataQA1 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570243643 Build Success with Spark 2.1.0, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.1/1404/ ---------------------------------------------------------------- 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] With regards, Apache Git Services |
In reply to this post by GitBox
CarbonDataQA1 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570254754 Build Success with Spark 2.1.0, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.1/1403/ ---------------------------------------------------------------- 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] With regards, Apache Git Services |
In reply to this post by GitBox
CarbonDataQA1 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570259255 Build Failed with Spark 2.2.1, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.2/1413/ ---------------------------------------------------------------- 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] With regards, Apache Git Services |
In reply to this post by GitBox
CarbonDataQA1 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570269126 Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/1426/ ---------------------------------------------------------------- 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] With regards, Apache Git Services |
In reply to this post by GitBox
QiangCai commented on a change in pull request #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#discussion_r362685140 ########## File path: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/management/CarbonLoadDataCommand.scala ########## @@ -872,13 +851,19 @@ case class CarbonLoadDataCommand( val table = loadModel.getCarbonDataLoadSchema.getCarbonTable val metastoreSchema = StructType(catalogTable.schema.fields.map{f => val column = table.getColumnByName(f.name) - if (column.hasEncoding(Encoding.DICTIONARY)) { - f.copy(dataType = IntegerType) - } else if (f.dataType == TimestampType || f.dataType == DateType) { - f.copy(dataType = LongType) + val updatedDataType = if (column.hasEncoding(Encoding.DICTIONARY)) { Review comment: please rebase code ---------------------------------------------------------------- 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] With regards, Apache Git Services |
In reply to this post by GitBox
niuge01 commented on a change in pull request #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#discussion_r362688282 ########## File path: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/management/CarbonLoadDataCommand.scala ########## @@ -872,13 +851,19 @@ case class CarbonLoadDataCommand( val table = loadModel.getCarbonDataLoadSchema.getCarbonTable val metastoreSchema = StructType(catalogTable.schema.fields.map{f => val column = table.getColumnByName(f.name) - if (column.hasEncoding(Encoding.DICTIONARY)) { - f.copy(dataType = IntegerType) - } else if (f.dataType == TimestampType || f.dataType == DateType) { - f.copy(dataType = LongType) + val updatedDataType = if (column.hasEncoding(Encoding.DICTIONARY)) { 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] With regards, Apache Git Services |
In reply to this post by GitBox
niuge01 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570432380 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] With regards, Apache Git Services |
In reply to this post by GitBox
CarbonDataQA1 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570436799 Build Success with Spark 2.1.0, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.1/1410/ ---------------------------------------------------------------- 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] With regards, Apache Git Services |
In reply to this post by GitBox
CarbonDataQA1 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570438434 Build Failed with Spark 2.2.1, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.2/1418/ ---------------------------------------------------------------- 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] With regards, Apache Git Services |
In reply to this post by GitBox
jackylk commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570452382 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] With regards, Apache Git Services |
In reply to this post by GitBox
CarbonDataQA1 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570455304 Build Success with Spark 2.1.0, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.1/1412/ ---------------------------------------------------------------- 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] With regards, Apache Git Services |
In reply to this post by GitBox
CarbonDataQA1 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570455642 Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/1432/ ---------------------------------------------------------------- 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] With regards, Apache Git Services |
In reply to this post by GitBox
CarbonDataQA1 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570465477 Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/1434/ ---------------------------------------------------------------- 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] With regards, Apache Git Services |
In reply to this post by GitBox
ydvpankaj97 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570473486 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] With regards, Apache Git Services |
In reply to this post by GitBox
CarbonDataQA1 commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570476737 Build Failed with Spark 2.2.1, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.2/1420/ ---------------------------------------------------------------- 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] With regards, Apache Git Services |
In reply to this post by GitBox
ydvpankaj97 removed a comment on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570473486 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] With regards, Apache Git Services |
In reply to this post by GitBox
jackylk commented on issue #3556: [HOTFIX] Fix InsertFromStage complex data type issue for partition table
URL: https://github.com/apache/carbondata/pull/3556#issuecomment-570508016 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] With regards, Apache Git Services |
Free forum by Nabble | Edit this page |