Aggarwal-Raghav opened a new pull request, #6578:
URL: https://github.com/apache/hive/pull/6578

   ### What changes were proposed in this pull request?
   Adds the missing  DATE  case to  ESTRING_CONVERTER  in  ETypeConverter.java  
to properly parse the Parquet string and return a  DateWritableV2
   
   
   ### Why are the changes needed?
   To fix the 
   ```
   java.lang.ClassCastException: class org.apache.hadoop.io.Text cannot be cast 
to class org.apache.hadoop.hive.serde2.io.DateWritableV2 
(org.apache.hadoop.io.Text and org.apache.hadoop.hive.serde2.io.DateWritableV2 
are in unnamed module of loader 'app')
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   NO
   
   ### How was this patch tested?
   Wrote a Junit test and q file
   ```
   mvn test -Dtest=TestMiniLlapLocalCliDriver 
-Dqfile=parquet_string_to_date_mapjoin.q -Drat.skip -Pitests -pl itests/qtest
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to