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

Commit163875a

Browse files
committed
update: start autoincrementing id from 100,000,000
1 parentaa4b0ff commit163875a

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
@@ -105,7 +105,7 @@ def visit_create_table(self, create, **kw):
105105
if'`'notinprocessed:
106106
processed='`'+"".join(processed.split(" ")[0])+"` "+" ".join(processed.split(" ")[1:])
107107
ifcolumn.autoincrementisTrue:# If doesn't work try 'is True' and == 'True'
108-
processed="`".join(processed.split("`")[:-1])+"` "+"BIGINT GENERATED BY DEFAULT AS IDENTITY"
108+
processed="`".join(processed.split("`")[:-1])+"` "+"BIGINT GENERATED BY DEFAULT AS IDENTITY (START WITH 100000000 INCREMENT BY 1)"
109109
ifprocessedisnotNone:
110110
text+=separator
111111
separator=",\n"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp