You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix CREATE TABLE enum default validation to show proper column names
- Add early validation in tableSpecToSchema to catch enum default 0 before conversion
- Prevents columndefault.go from returning "(unknown)" in error messages
- Enhanced validateDefaultExprs to handle enum defaults with proper column context
- Now matches MySQL behavior exactly: "Invalid default value for 'column_name'"
Resolves the remaining column name issue for CREATE TABLE statements
while maintaining all existing INSERT validation functionality.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments