Skip to content
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

Decomp func op #1400

Merged
merged 3 commits into from
Jun 1, 2024
Merged

Decomp func op #1400

merged 3 commits into from
Jun 1, 2024

Conversation

tom95858
Copy link
Collaborator

This set of changes implements functional operators in the decomposition path. These changes also change the JSON parser to use the libjansson library which provides better error reporting and an easier to use API.

@tom95858 tom95858 requested review from narategithub and morrone May 31, 2024 03:47
These changes allow for the application of functional operators in
the generation of column data in decomposed rows.
@morrone
Copy link
Collaborator

morrone commented May 31, 2024

I think the containers need libjansson >=2.11 to support json_error_code().

@narategithub
Copy link
Collaborator

narategithub commented May 31, 2024 via email

@narategithub
Copy link
Collaborator

I believe this should pass all the workflow once @tom95858 trigger the re-run of the workflows.

@tom95858
Copy link
Collaborator Author

tom95858 commented May 31, 2024 via email

@narategithub
Copy link
Collaborator

@tom95858 I noticed that you have json_error* stuff conditioned on JANSSON version. I want to confirm that I should downgrade libjansson in CentOS7 images back to 2.10 (shipped with the distro), right?

@tom95858
Copy link
Collaborator Author

@narategithub I think the conditional you added is fine. For the CentOS7 images, then yeah, you should install the libjansson-devel version to whatever is shipped with the distro.

The libjansson parser has better documentation
and better error reporting. The API is easier
to use resulting in less code required for
JSON parsing.

The __decomp decorator in front of most plugin
symbols has also been removed as this is
unnecessary for static symbols and variables.
@narategithub
Copy link
Collaborator

@tom95858 the images were updated accordingly with libjansson that shipped with the distro.

FYI, I tried the commit without the JANSSON_VERSION_HEX conditional here: narategithub#27 (in my repo) and it failed as expected (undefined json_error_code).

The commit with JANSSON_VERSION_HEX condition passed the workflows: narategithub#28 (with libjansson that shipped with the distro).

@tom95858 tom95858 merged commit 437ecf5 into OVIS-4 Jun 1, 2024
14 checks passed
@tom95858 tom95858 deleted the decomp-func-op branch June 1, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants