Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Commit 91b7472

Browse files
committed
Use legacy syntax in Calcite by default in PyHDK.
Signed-off-by: ienkovich <[email protected]>
1 parent d774e85 commit 91b7472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyhdk/_sql.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ cdef class Calcite:
4040
def process(self, string sql, **kwargs):
4141
cdef string db_name = kwargs.get("db_name", "test-db")
4242
cdef vector[FilterPushDownInfo] filter_push_down_info = vector[FilterPushDownInfo]()
43-
cdef bool legacy_syntax = kwargs.get("legacy_syntax", False)
43+
cdef bool legacy_syntax = kwargs.get("legacy_syntax", True)
4444
cdef bool is_explain = kwargs.get("is_explain", False)
4545
cdef bool is_view_optimize = kwargs.get("is_view_optimize", False)
4646
return self.calcite.process(db_name, sql, self.schema_provider.get(), self.config.get(), filter_push_down_info, legacy_syntax, is_explain, is_view_optimize)

0 commit comments

Comments
 (0)