Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2f16b81

Browse files
authored
Merge pull request#37 from sede-open/task/ignore_mvt_suffix
Task/ignore mvt suffix
2 parents1d71d67 +d3078a2 commit2f16b81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/databricks/sqlalchemy/dialect/__init__.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ def get_table_names(self, connection, schema=None, **kwargs):
277277
sql_str="""SELECT table_schema, table_name
278278
FROM information_schema.tables
279279
WHERE table_schema = '{}'
280-
AND table_type = 'MANAGED';""".format(
280+
AND table_type = 'MANAGED'
281+
AND table_name NOT LIKE '%_mvt';""".format(
281282
schema_str
282283
)
283284
# TODO: Add if scenario for None schema

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp