Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supported Insert as select sql #5

Open
melin opened this issue Dec 8, 2021 · 5 comments
Open

Supported Insert as select sql #5

melin opened this issue Dec 8, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@melin
Copy link

melin commented Dec 8, 2021

example: insert into table bigdata.test_child_lineage select * from bigdata.test_child_dt where ds='20211207'

There is a lineage relationship between test_child_lineage and test_child_dt

@maropu
Copy link
Owner

maropu commented Dec 10, 2021

Yea, but it is not easy to implement it because Spark does not hold the relationship in its catalog. Probably, we need a custom SQL listener to track INSERT query logs.

@maropu maropu added the enhancement New feature or request label Dec 10, 2021
@melin
Copy link
Author

melin commented Mar 15, 2022

Have a plan to finish? Thanks!

@maropu
Copy link
Owner

maropu commented Mar 15, 2022

I don't have it because I don't have a smart idea for implementing it. Any plan to use the feature if it's implemented?

@melin
Copy link
Author

melin commented Mar 18, 2022

Will use, most of the scheduling job that run every day are insert sql job

@melin
Copy link
Author

melin commented May 17, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants