Quanlong Huang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18666
Change subject: IMPALA-11354: Fix load_data.py can't force reload views ...................................................................... IMPALA-11354: Fix load_data.py can't force reload views When force reloading a test table, we drop it before recreate it. We do the same for views. However, the DROP statement is "DROP TABLE ..." which can't be executed on views. This causes the view not actually dropped and the new view is not created as a consequence. The view remains unchanged. This patch fixes generate-schema-statements.py to generate DROP VIEW statement when force reloading views. Tested locally by force reloading functional.alltypes_view. Verified the statements succeed in the sql log file. Change-Id: I0501fe134b83a19ff09d83bc8d87fdeded860244 --- M testdata/bin/generate-schema-statements.py 1 file changed, 5 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/66/18666/1 -- To view, visit http://gerrit.cloudera.org:8080/18666 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I0501fe134b83a19ff09d83bc8d87fdeded860244 Gerrit-Change-Number: 18666 Gerrit-PatchSet: 1 Gerrit-Owner: Quanlong Huang <[email protected]>
