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

constant process not supported #353

Open
ElienVandermaesenVITO opened this issue Dec 4, 2024 · 1 comment
Open

constant process not supported #353

ElienVandermaesenVITO opened this issue Dec 4, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ElienVandermaesenVITO
Copy link
Contributor

[400] BadRequest: java.lang.IllegalArgumentException: Unsupported operation: constant (arguments: [x]) (ref: r-2412044031e84b1e9ada557ecc1d9115)
Process graph from Open-EO/openeo-community-examples#58 (comment)

@JeroenVerstraelen JeroenVerstraelen added the enhancement New feature or request label Dec 9, 2024
@jdries
Copy link
Contributor

jdries commented Dec 20, 2024

The 'constant' process needs to be added to this switch statement:

The actual implementation for numbers already exists, and can be found here:

So the work here is to add one line of code, and a test.
For the test, we could in fact make a slight modification to an existing one, which now often uses constants but not via this process, e.g.:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants