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

Panics calling builtin functions on certain data types #5248

Open
philipbalinov opened this issue Feb 20, 2025 · 0 comments
Open

Panics calling builtin functions on certain data types #5248

philipbalinov opened this issue Feb 20, 2025 · 0 comments
Assignees

Comments

@philipbalinov
Copy link
Contributor

Describe the bug
The following queries result in panics:

`[].all()
`{}.all()
microsoft.users.sample()

To Reproduce

  1. Open a cnquery shell (or cnquery shell ms365 for the last query)
  2. Enter the queries above
  3. Observe the panic

Expected behavior
No panic - either an error message or empty set as a result

Desktop (please complete the following information):

  • OS: macOS, Linux
  • cnquery version: >= v11.25.0
@vjeffrey vjeffrey assigned afiune and jaym and unassigned afiune Feb 21, 2025
@vjeffrey vjeffrey assigned afiune and unassigned jaym Mar 3, 2025
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

3 participants