ensean commented on issue #7948:
URL: https://github.com/apache/seatunnel/issues/7948#issuecomment-2448900991
### MySQL table DDL
```sql
CREATE TABLE salaries (
emp_no INT NOT NULL,
salary INT NOT NULL,
from_date DATE NOT NULL,
to_date DATE NOT NULL,
FOREIGN KEY (emp_no) REFERENCES employees (emp_no) ON DELETE CASCADE,
PRIMARY KEY (emp_no, from_date)
)
```
### Clickhouse table DDL
```sql
CREATE TABLE default.salaries4
(
`emp_no` UInt64,
`salary` UInt64,
`from_date` String,
`to_date` String
)
ENGINE = MergeTree
PRIMARY KEY (emp_no, from_date)
ORDER BY (emp_no, from_date)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]