fix: can't sync temporal flag on virtual table (#19366)

This commit is contained in:
Yongjie Zhao
2022-04-01 16:40:50 +08:00
committed by GitHub
parent d684ad073d
commit d954c3df86
15 changed files with 170 additions and 92 deletions

View File

@@ -130,8 +130,8 @@ def cta_result(ctas_method: CtasMethod):
if backend() != "presto":
return [], []
if ctas_method == CtasMethod.TABLE:
return [{"rows": 1}], [{"name": "rows", "type": "BIGINT", "is_date": False}]
return [{"result": True}], [{"name": "result", "type": "BOOLEAN", "is_date": False}]
return [{"rows": 1}], [{"name": "rows", "type": "BIGINT", "is_dttm": False}]
return [{"result": True}], [{"name": "result", "type": "BOOLEAN", "is_dttm": False}]
# TODO(bkyryliuk): quote table and schema names for all databases