Support INSERT INTO SELECT
Describe This Problem
Enhance SQL support.
INSERT INTO SELECT is useful to migrate table, benchmark(to quickly generate lots of data).
Proposal
Implement this SQL syntax.
INSERT INTO table2 (column1, column2, column3, ...)
SELECT column1, column2, column3, ...
FROM table1
WHERE condition;
Additional Context
- https://dev.mysql.com/doc/refman/8.0/en/insert-select.html
- https://www.w3schools.com/mysql/mysql_insert_into_select.asp
Hi, I'm interested in this let me try, but this one may take a little time. This requirement seems a little difficult for me, but I want to try it
Thanks, assigned.
You need to know how horaedb parse sql, how a plan is created and executed. This is indeed a non-trivial task, feel free to ask any questions when you are in trouble.
@caicancai Hi, a few weeks passed, how's it going? Any problems?
@caicancai Hi, a few weeks passed, how's it going? Any problems?
There doesn't seem to be any progress. I was busy with work in December. I'm sorry for that. I may start this part of the work on New Year's Day, if this feature is not urgent.
Hi, take your time, just want to know if there is any problems.
You can join our slack channel to discuss with us.
- https://github.com/apache/incubator-horaedb?tab=readme-ov-file#contributing
@jiacai2050 Hello, I tried it during the holiday. I expected that this feature would take up a lot of my energy. Since I have been busy recently, I may not have so much energy. I chose to give up this feature. I am very sorry for taking up so much time.
Thanks for trying out, This task is a little complex, you need to understand how query and write works at the same time.
PS: I remove the
good first issuetag.
Hi @jiacai2050, I'd like to take this task.
👍 Much appreciated.