apache / apache/datafusion-sqlparser-rs
MySQL - On Update not taking expression
Open
- Dominant language
- Rust
- Stars
- 3.5k
- Forks
- 772
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 17
Description
```sql
CREATE TABLE foo (`modification_time` DATETIME ON UPDATE CURRENT_TIMESTAMP())
```
does not work
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the MySQL CREATE TABLE statement with DATETIME ON UPDATE CURRENT_TIMESTAMP() and trace how the parser handles the expression. Identify the relevant MySQL dialect parsing entry point, then confirm that the statement parses successfully without breaking existing cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, rust, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100