Github user viirya commented on the issue:
https://github.com/apache/spark/pull/18360
Oh. I just thought there might be an issue when doing `CREATE OR REPLACE
VIEW viewName AS SELECT ...` in `CreateViewCommand`.
The `CatalogTable` used to replace existing view is also coming from
`prepareTable`. It doesn't contain the properties. And in `alterTable` we don't
explicitly add the properties for `VIEW` too.
So once we replace an existing view, the properties will not be there
anymore.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]