Skip to content

Commit 987e830

Browse files
committed
fix(singlestore): import NormalizationStrategy and set normalization strategy to CASE_INSENSITIVE
1 parent 41521e3 commit 987e830

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sqlglot/dialects/singlestore.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from sqlglot import exp
55
from sqlglot.dialects.dialect import (
66
build_formatted_time,
7+
NormalizationStrategy,
78
build_json_extract_path,
89
json_extract_segments,
910
json_path_key_only_name,
@@ -33,6 +34,7 @@ def cast_to_time6(expression: t.Optional[exp.Expression]) -> exp.Cast:
3334
class SingleStore(MySQL):
3435
SUPPORTS_ORDER_BY_ALL = True
3536

37+
NORMALIZATION_STRATEGY = NormalizationStrategy.CASE_INSENSITIVE
3638
TIME_MAPPING: t.Dict[str, str] = {
3739
"D": "%u", # Day of week (1-7)
3840
"DD": "%d", # day of month (01-31)

0 commit comments

Comments
 (0)