hudi-bot opened a new issue, #14757:
URL: https://github.com/apache/hudi/issues/14757

   Hudi deltastreamer ,  using SQLtransformation :
   
   21/02/04 17:19:50 INFO SqlQueryBasedTransformer: SQL Query for 
transformation : (select order_date from `default`.ordertest)
   org.apache.spark.sql.AnalysisException: Table or view not found: 
`default`.`ordertest`; line 1 pos 23;
   ’Project [’order_date]
   +- ’UnresolvedRelation `default`.`ordertest` 
   
    
   
   This is because:
   DeltaStreamer does not enable HiveSupport when initiating the SparkSession.
   this.sparkSession = 
SparkSession.builder().config(jssc.getConf()).getOrCreate();
   line 526 in 
[https://github.com/a0x8o/hudi/blob/b8d0747959bc6f101b5b90b8e3ad323aafa2aa6e/hudi-u[…]rg/apache/hudi/utilities/deltastreamer/HoodieDeltaStreamer.java|https://github.com/a0x8o/hudi/blob/b8d0747959bc6f101b5b90b8e3ad323aafa2aa6e/hudi-utilities/src/main/java/org/apache/hudi/utilities/deltastreamer/HoodieDeltaStreamer.java]
   
   ## JIRA info
   
   - Link: https://issues.apache.org/jira/browse/HUDI-1627
   - Type: Bug


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