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

Support hexadecimal literals #12

Open
turbanoff opened this issue Mar 26, 2019 · 1 comment
Open

Support hexadecimal literals #12

turbanoff opened this issue Mar 26, 2019 · 1 comment

Comments

@turbanoff
Copy link

It would be nice to have support for hex literals. Especially useful for query with address conditions

select *
from "java.lang.Object[]" o
where getAddress(o.this) = 0xe8a675b8
@Lerm
Copy link
Collaborator

Lerm commented Mar 26, 2019

Please note, that right now this can be achieved by using 'toLong' function:

select *
from "java.lang.Object[]" o
where getAddress(o.this) = toLong('0xe8a675b8')

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