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

config.yml paths How do I support cross-directory re syntax #72

Closed
liangrui1988 opened this issue Jul 22, 2022 · 3 comments
Closed

config.yml paths How do I support cross-directory re syntax #72

liangrui1988 opened this issue Jul 22, 2022 · 3 comments
Milestone

Comments

@liangrui1988
Copy link

liangrui1988 commented Jul 22, 2022

for example I need all paths information for /hive/db/table

paths:  
   - '/hive_warehouse/*/*'

After I do this, I do not list all the table information. Why is this?

@marcelmay
Copy link
Owner

The exporter uses Java Regexp,
but only matches lowest directories currently:

paths:  
   - '/hive_warehouse/db1/.*'
   - '/hive_warehouse/db2/.*'
   - ...

I'll extend the exporter to match directories on each level (#73)

@marcelmay
Copy link
Owner

marcelmay commented Jul 24, 2022

@liangrui1988 , I plan to add this to the next release this wednesday this weekend

marcelmay added a commit that referenced this issue Aug 4, 2022
Glob-style (but using regexp for backwards compatiblity) path matching

Example:
  /hive/.*/.*

  Matchs all tables for a strucuture like /hive/<DATABASE>/<TABLES>, to
  get per <TABLE> directory stats
@marcelmay marcelmay added this to the 1.4.5 milestone Aug 4, 2022
@marcelmay
Copy link
Owner

@liangrui1988 : Can you try release 1.4.5 using this config:

paths:  
   - '/hive_warehouse/.*/.*'

Any feedback regarding new 1.4.5 release appreciated.

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

No branches or pull requests

2 participants