-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Postgres driver: error on creating non-string properties #691
Comments
Ok, if Studio works, it must be an issue with the console. I'm going to write a test case for this. |
Just written a test case and the return from the command is:
|
Indeed, looks like it only happens in postgresql. |
I was able to reproduce the problem from postgres console. Working on it. |
Ok, the commands are executed correctly, but the output is serialized wrongly. I tried with a small fix that serializes by using the stringify protocol and works (everything but the FLOAT number for some reason). I need to dig a little bit more into this. Unfortunately the documentation on how to serialize types in Postgres Wire protocol is scarce/non-existent :-( |
Fixed. Changed serialization to text. |
All results look good now, including floats. This is just perfect. |
ArcadeDB Version: 22.12.1-SNAPSHOT
JDK Version: openjdk version "11.0.17" 2022-10-18
OS: Ubuntu 22.04.1 LTS
Expected behavior
I have a vertex type with several properties:
A new vertex is created and selected:
Please note the strange response for both commands. The values for the properties
i
andsh
are empty. The booleanb
looks like binary data. The doubled
does not look very much like a number, and the date-timeda
is empty.The studio shows the correct values for all fields, including "true" for the boolean.
The text was updated successfully, but these errors were encountered: