-
Notifications
You must be signed in to change notification settings - Fork 33
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
Breaking change from SkySpark 3.0.27 to 3.0.28 #108
Comments
|
Thanks for replying back soon. I was actually just looking into more detailed logs. It looks like before the update, the server returned a |
Right, so their Clearly they don't use Semantic Versioning, because a jump from 3.0.27 to 3.0.28 would not imply such a drastic change. |
I wonder whether this is intended behavior on the Skyspark side actually. From the blog post you referenced, I understand that you should only be getting the "Hayson" format if you specify If I try asking for |
C'est pas gentil.... |
Is there a parser available for hayson, or would this need to be written from scratch? |
They have a little tendency to create new things instead of reusing existing stuff.... |
A parser (and dumper) for Hayson does not yet exist, see widesky/hszinc#35. |
Personally, we need to do two things:
|
Coming back to this a year later. I had missed the description of this change in the Skyspark 3.0.28 build notes (see below). I was able to get the previous format by making a manual request using Do you have an idea of a workaround for passing headers? HaysonHaystack 4 includes a new JSON encoding named Hayson which was developed by WG 792. Based on community feedback this build makes the Haystack 4 encoding the default for SkySpark. The ioReadJson(), ioReadJsonGrid(), and ioWriteJson() funcs will now all default to Haystack 4 JSON. They each accept an options Dict that allows you specify v3 JSON should be used instead:
You can force the io JSON funcs to default to If you are using the Haystack REST API to invoke Ops, then the |
Not easily… See |
Are you sure they broke the contract here? From the Haystack docs, Hayson is now the standard that should be returned by Passing a different If you do not have the bandwidth to support this, I understand. But this will mean moving away from pyhaystack for me, so I did want to check. Thanks for your time |
We (I) wrote to the standard that existed at the time. That was, If they wanted to use a different content-type for the new Hayson standard, that'd be fine, it'd be backward-compatible with existing clients, and we could update those clients to also support the new standard… no problems. This is not what Skyspark did. Now, I'm not saying The It should be possible to allow switching of the |
Understood. Does your comment about management at your workplace also mean that general maintenance of the Thanks for all the work you have done on this so far. |
It is not planned to be deprecated. It is just that we built Most of the work required has to be done in hszinc, the parser used by I agree with Stuart that Now as Stuart told, |
The following snippet
produces the following output
with a skyspark server running 3.0.28 but was working with 3.0.27.
If I remove the
grid_format
argument (which I am guessing defaults tozinc
for the skyspark implementation), then the issue disappears. For our application, parsing json was much faster than zinc, so we would prefer to keep that.I'd be happy to do a bit more digging to try to resolve this, but it would be great to get a few pointers. It looks like
entity_ref
here is not expected to be adict
.Does someone have thoughts on what is happening here?
The text was updated successfully, but these errors were encountered: