yuqi1129 opened a new issue, #14799:
URL: https://github.com/apache/gravitino/issues/14799

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   The Hive catalog rejects non-null `defaultCatalog` and `defaultSchema` for 
the `hive` and `flink` dialects, but not for `spark`. For a Spark view, create 
and `replaceView` succeed, while the values are not stored and are absent when 
the view is loaded. Callers get a successful response even though their 
settings were discarded.
   
   ### Error message and/or stacktrace
   
   No error. The create response and later loads omit both fields.
   
   ### How to reproduce
   
   1. Create a view in a Hive catalog with `dialect: spark`, the property 
`spark.sql.create.version`, and non-null `defaultCatalog` and `defaultSchema`.
   2. The request succeeds, and the loaded view has no default catalog or 
schema.
   3. The same request with `dialect: hive` is rejected with HTTP 400.
   
   ### Additional context
   
   Rejecting the values keeps the Spark dialect consistent with `hive` and 
`flink`.
   


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