diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-03 07:31:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-03 07:31:50 +0000 |
commit | 1fb60a37d31eacbac62ddafde51b829522925694 (patch) | |
tree | 5c04a33630f7a2cd4cff248e965053f97ec3e4ac /sqlglot/executor/__init__.py | |
parent | Adding upstream version 11.4.1. (diff) | |
download | sqlglot-c703ca34b712703c6eff83923bcbfeadc6c73564.tar.xz sqlglot-c703ca34b712703c6eff83923bcbfeadc6c73564.zip |
Adding upstream version 11.4.5.upstream/11.4.5
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sqlglot/executor/__init__.py')
-rw-r--r-- | sqlglot/executor/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlglot/executor/__init__.py b/sqlglot/executor/__init__.py index a676e7d..a67c155 100644 --- a/sqlglot/executor/__init__.py +++ b/sqlglot/executor/__init__.py @@ -57,7 +57,7 @@ def execute( for name, table in tables_.mapping.items() } - schema = ensure_schema(schema) + schema = ensure_schema(schema, dialect=read) if tables_.supported_table_args and tables_.supported_table_args != schema.supported_table_args: raise ExecuteError("Tables must support the same table args as schema") |