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
kdb ls produces additional keys #2456
Comments
Thank you for reporting this problem. I fully agree! Only with |
I would like to do this as my first issue @markus2330 |
Good choice, this should be very easy. I assigned you. |
@markus2330 |
No, "deeper down" is a separate feature using -m and -M switches (man kdb ls). You should only filter out the keys which start with / and not filter the correct keys. You get such keys by setting defaults: kdb setmeta spec/tests/example default something
kdb ls spec/tests
#> spec/tests/example Wanted output:
Current output:
Or also (maybe a different bug?): kdb setmeta spec/tests/example default something
kdb ls spec/tests/example
#> spec/tests/example Please also add test cases (the code above is already a shell recorder test, see tests/shell/shell_recorder/tutorial_wrapper/README.md) |
I have modified the Using the input you mentioned above:
I get the following output:
I get both versions every time. Is this intentional or could there be a problem in the |
Considering #2550 and that |
@kodebach is this resolved now? |
As far as I can tell, yes. |
Steps to Reproduce the Problem
Have the spec plugin (global-)mounted and run:
Expected Result
Only keys below
spec/tests/example
should be listed.Actual Result
Cascading keys below
/tests/example
are also listed.Further Comments
IMO
kdb ls
should never produce cascading keys, even if it is called with a cascading parent key. If I callkdb ls
, I want to know about the actual keys present.The text was updated successfully, but these errors were encountered: