-
Notifications
You must be signed in to change notification settings - Fork 655
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
UNION not returning correct result #1415
Comments
It should work - but does not... |
I would like to take the issue, could it be assigned to me ? 👍 Thanks ! |
Sure! |
@Tisamu Any ideas on how to approach this issue? |
Hello, sorry for giving no news. Yep I've debugged a bit and it seems that the params of the first table are not passed to the union compilation method. I'm still trying to understand all the compilation process of the query so I'm not sure where is the problem precisely. I'm gonna work more on it this weekend. 😄 |
I have not dived into where this might be - but a few hints to debug: Its often good to understand the compiled function that is constructed to execute the query. Idea: Replicate the problem in the CLI version of alasql.
In the file It could be here forexample Then you run your CLI command with the inspect flag
Then you open chrome and go to Now click here to start running Then - if you placed the (nope - the place I inserted the Please remember to move any changes to the proper files in src/ folder. Too many times have I found a fix and forgot I was live editing in the build destination and had to redo the details. |
Nice ! Thanks for the tips. 😄 |
Well, sorry but I've a bit busy those weeks, not sure if I will be able to fix it soon. Feel free to un-assign me the issue if someone else wanna take it. |
Thank you for leaning in. Let me know if you leant something you want to share with others. |
Any luck @Tisamu ? |
AlaSQL is based on unpaid voluntary work. Thank you for taking the time to make it better.
Question about how to ...
Something is not working as expected:
Describe the problem
UNION does not work.
Provide code that replicates the problem
--- FF 95.01 Linux
alasql.version
"1.7.3-develop-0be167bcundefined"
----- Chrome 97.0 Linux
alasql.version
'1.7.3-develop-0be167bcundefined'
---- Node
---- How does it work in sqlite3
Maybe I'm using alasql incorrectly? I tried looking at some documentation in the wiki but the section on union is quite spartan.
Anyway, thanks a lot!
The text was updated successfully, but these errors were encountered: