You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2022/02/08 10:05:38 UTC

[GitHub] [hive] kasakrisz opened a new pull request #3005: HIVE-25937: Create view fails when definition contains a materialized view definition

kasakrisz opened a new pull request #3005:
URL: https://github.com/apache/hive/pull/3005


   ### What changes were proposed in this pull request?
   Check whether the current command is a create view command when trying to apply materialized view rewrite by exact sql text match.
   
   ### Why are the changes needed?
   Rewriting Views to MV scans are not supported currently.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes. Such views can be created and no error messages given.
   
   ### How was this patch tested?
   ```
   mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=create_view_when_mv_exists.q,create_view_when_mv_exists2.q -pl itests/qtest -Pitests
   ```


-- 
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: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] kasakrisz merged pull request #3005: HIVE-25937: Create view fails when definition contains a materialized view definition

Posted by GitBox <gi...@apache.org>.
kasakrisz merged pull request #3005:
URL: https://github.com/apache/hive/pull/3005


   


-- 
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: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org