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

Add NRQL dialect support #510

Closed
seancorfield opened this issue Oct 16, 2023 · 2 comments
Closed

Add NRQL dialect support #510

seancorfield opened this issue Oct 16, 2023 · 2 comments
Assignees

Comments

@seancorfield
Copy link
Owner Author

Current status:

  (format {:select [:mulog/timestamp :mulog/event-name]
           :from   :Log
           :where  [:= :mulog/data.account "foo-account-id"]
           :since  [2 :days :ago]
           :limit 2000}
          {:dialect :nrql})
  ;; ["SELECT `mulog/timestamp`, `mulog/event-name` FROM Log
  ;;   WHERE `mulog/data.account` = 'foo-account-id' LIMIT 2000 SINCE 2 DAYS AGO"]

Needs FACET and WITH TIMEZONE added. Plus documentation.

seancorfield added a commit that referenced this issue Oct 16, 2023
seancorfield added a commit that referenced this issue Oct 17, 2023
@seancorfield
Copy link
Owner Author

seancorfield commented Oct 17, 2023

:facet [:some.metric :another] or :facet [[:some.metric :alias] :another] -- no support yet for the more complex FACET CASES. Will wait for some demand for that 🙂

seancorfield added a commit that referenced this issue Oct 17, 2023
@seancorfield seancorfield added the documentation I need to write something up! label Oct 21, 2023
seancorfield added a commit that referenced this issue Oct 21, 2023
seancorfield added a commit that referenced this issue Oct 21, 2023
seancorfield added a commit that referenced this issue Oct 21, 2023
@seancorfield seancorfield removed the documentation I need to write something up! label Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant