QQL with a new column having constant value #241
-
Hi @alex-karpovich , the expected output should be orderType ask_price ask_size Regards, |
Beta Was this translation helpful? Give feedback.
Answered by
alex-karpovich
Jul 28, 2023
Replies: 1 comment 4 replies
-
yes, it will work |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
please try the following:
(select ('ask' if true) as order_type, ask_price as price from order_book_depth) UNION (select ('bid' if true) as order_type, bid_price as price from order_book_depth)
using
'ask' as order_type
- creates static column, which is not supported yet for unions