Skip to content

Commit

Permalink
[SQL] Setting all default mysql modes (#5268)
Browse files Browse the repository at this point in the history
  • Loading branch information
liranbg committed Mar 20, 2024
1 parent 530b7cd commit 2af3d96
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mlrun/config.py
Expand Up @@ -324,7 +324,13 @@
# optional values (as per https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html#sql-mode-full):
#
# if set to "nil" or "none", nothing would be set
"modes": "STRICT_TRANS_TABLES",
"modes": (
"STRICT_TRANS_TABLES"
",NO_ZERO_IN_DATE"
",NO_ZERO_DATE"
",ERROR_FOR_DIVISION_BY_ZERO"
",NO_ENGINE_SUBSTITUTION",
)
},
},
"jobs": {
Expand Down

0 comments on commit 2af3d96

Please sign in to comment.