snuyanzin commented on code in PR #37:
URL: 
https://github.com/apache/flink-connector-hive/pull/37#discussion_r3312735670


##########
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:
   well it returns not Object, it returns `TableDesc`
   It started returning `Object` in this PR and I still don't understand why



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

Reply via email to