LucassLin commented on issue #4642:
URL: https://github.com/apache/hudi/issues/4642#issuecomment-1017119391


   > ```scala
   > historicalDF.write.format("hudi").saveAsTable("tableName")
   > ```
   > 
   > Sorry, I didn't see this one just now. It's OK from Hudi version 0.9.0, 
because there's still hudi sparkSql
   > 
   > In addition, it is also possible to configure sync hive, but there are 
bugs in previous versions. See this PR for details 
[3745](https://github.com/apache/hudi/pull/3745)
   > 
   > Of course, you can also create a hive table. As long as the attributes are 
completely consistent, it is essentially the same as sync hive
   
   thanks for the replies. I tried using hudi createTable sql command but 
getting 
   ```
   Exception = MetaException(message:Got exception: java.io.IOException Error 
accessing gs://*
   ```
   I also tried using saveAsTable but seems like there might be some issue with 
hive config which causes
   ```
   Exception = Invalid host name: local host is:
   ```
   I will try to resolve these once I get back to work and see if the entity 
table would solve the mergeInto issue. Thanks again for your help.


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