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

List Applications which use given table. #746

Closed
Imbruced opened this issue Jul 2, 2020 · 3 comments
Closed

List Applications which use given table. #746

Imbruced opened this issue Jul 2, 2020 · 3 comments

Comments

@Imbruced
Copy link

Imbruced commented Jul 2, 2020

Question

Hi, Is it possible to list all the application names which are using given table/ hdfs location ? For example I have Hive table test.table and my goal is to show applications which using it.

input

test.table

expected result

+----------------+-------------------+----------+
|application_name|     application_id|    origin|
+----------------+-------------------+----------+
|     data-merger|application_1214234|test.table|
| data-aggregator|application_5496876|test.table|
+----------------+-------------------+----------+

@wajda
Copy link
Contributor

wajda commented Jul 2, 2020

There is no such feature in the UI yet, but you can do it by querying ArangoDB directly
For example:

FOR ds IN dataSource
    FILTER LIKE(ds.uri, "%test.table%")
    FOR execPlan IN 1..1 INBOUND ds depends // or `affects` or `depends, affects` if you want both
        COLLECT appName=execPlan.extra['appName']
        RETURN appName

@Imbruced
Copy link
Author

Imbruced commented Jul 3, 2020

Thank you so much ! :)

@wajda
Copy link
Contributor

wajda commented Dec 10, 2020

Will be implemented in #804

@wajda wajda closed this as completed Dec 10, 2020
@wajda wajda added this to Spline Mar 31, 2022
@wajda wajda moved this to New in Spline Mar 31, 2022
@wajda wajda moved this from New to Closed in Spline Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants