[GitHub] [carbondata] maheshrajus opened a new pull request #3830: [CARBONDATA-3853] Data load failure when loading with bucket column as DATE data type

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

[GitHub] [carbondata] maheshrajus opened a new pull request #3830: [CARBONDATA-3853] Data load failure when loading with bucket column as DATE data type

GitBox

maheshrajus opened a new pull request #3830:
URL: https://github.com/apache/carbondata/pull/3830


   [CARBONDATA-3853] Data load failure when loading with bucket column as DATE data type
   
    ### Why is this PR needed?
    While loading data into a table which has bucket column as DATE data type then receiving data load failure due to class-cast exception. The class-cast exception is due to DATE data type is not going as IntegralHash type for getting the hash because of there is no case for DATE datatype and it is going for StringHash type and typecast results class-cast Exception.
   
    ### What changes were proposed in this PR?
   Added a OR (||) condition if data type is DATE then it will go IntegralHash getHash() method for getting the hash code.  
       
    ### 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] CarbonDataQA1 commented on pull request #3830: [CARBONDATA-3853] Data load failure when loading with bucket column as DATE data type

GitBox

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


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


----------------------------------------------------------------
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 #3830: [CARBONDATA-3853] Data load failure when loading with bucket column as DATE data type

GitBox
In reply to this post by GitBox

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


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


----------------------------------------------------------------
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] Zhangshunyu commented on pull request #3830: [CARBONDATA-3853] Data load failure when loading with bucket column as DATE data type

GitBox
In reply to this post by GitBox

Zhangshunyu commented on pull request #3830:
URL: https://github.com/apache/carbondata/pull/3830#issuecomment-656014919


   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] ajantha-bhat commented on pull request #3830: [CARBONDATA-3853] Data load failure when loading with bucket column as DATE data type

GitBox
In reply to this post by GitBox

ajantha-bhat commented on pull request #3830:
URL: https://github.com/apache/carbondata/pull/3830#issuecomment-662362251


   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] asfgit closed pull request #3830: [CARBONDATA-3853] Data load failure when loading with bucket column as DATE data type

GitBox
In reply to this post by GitBox

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


   


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