Skip to content

Commit 3190142

Browse files
Disable case sensitivity check for temporary tables.
1 parent eddf687 commit 3190142

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/io/sql.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,9 @@ def to_sql(
20842084
**engine_kwargs,
20852085
)
20862086

2087-
self.check_case_sensitive(name=name, schema=schema)
2087+
# only check case sensitivity for non temporary tables
2088+
if not table.is_temporary:
2089+
self.check_case_sensitive(name=name, schema=schema)
20882090
return total_inserted
20892091

20902092
@property

0 commit comments

Comments
 (0)