-
Notifications
You must be signed in to change notification settings - Fork 45
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
ClassCastException on reading splay table #51
Comments
In reality, kdb doesn't return content of the table (btw, I am playing with 3.6 - interesting how other version behaviours). Here is what the server returns from another q console
So the Flip has column names and a symbol for the table. A different q console, also get crazy from such object:
I think that either c() should returns some special c.SpecialFlip class. Another option is to correctly read the object into c.Flip but gives user ability to understand that content couldn't be retrieved and also reference to the symbolic name. |
With debugging: get `:test/ set ([] a:til 10) ([]a:10?100) Investigating further ... |
Example of unit test that can be added to recreate (note: doesn't yet have intended action as change required, but allows quick testing)
Running Example of using KDB+ directly as a client were it doesn't have access to 'test' dir containing table dir (i.e. ran on same host but from different dir from KDB+ server) q -p 5001 (server) client instance
Will look further at potential changes that could be made & update. |
The bug is inside c.java which parses the result from kdb.
If you run GridViewer with the following query
String query ="get `:test/ set ([] a:til 10)";
then you get the following exception
The text was updated successfully, but these errors were encountered: