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

Commit449bca9

Browse files
committed
Another if logic change
1 parentff5ebed commit449bca9

File tree

1 file changed

+1
-1
lines changed
  • src/databricks/sqlalchemy/dialect

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def visit_create_table(self, create, **kw):
101101
processed=self.process(
102102
create_column,first_pk=column.primary_keyandnotfirst_pk
103103
)
104-
ifcolumn.autoincrement=="True":# If doesn't work try 'is True' and == 'True'
104+
ifcolumn.autoincrementisTrue:# If doesn't work try 'is True' and == 'True'
105105
processed="`".join(processed.split("`")[:-1])+"`"+"BIGINT GENERATED ALWAYS AS IDENTITY"
106106
ifprocessedisnotNone:
107107
text+=separator

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp