jlalwani-amazon commented on code in PR #37:
URL:
https://github.com/apache/flink-connector-hive/pull/37#discussion_r3313109490
##########
flink-connector-hive/src/main/java/org/apache/flink/table/planner/delegation/hive/copy/HiveParserSemanticAnalyzer.java:
##########
@@ -1664,9 +1663,33 @@ private void getMetaData(HiveParserQB qb) throws
HiveException {
Path location;
// If the CTAS query does specify a location,
use the table
// location, else use the db location
- if (qb.getTableDesc() != null
- && qb.getTableDesc().getLocation() !=
null) {
- location = new
Path(qb.getTableDesc().getLocation());
+ // Note: getTableDesc() returns Object (Hive 4
relocated
Review Comment:
I'll add more comments. Hive 4 moved the class. So, we have changed the code
to put this in an object and use reflection to call methods
--
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]