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

Variable columnNames is not available in Jython #4481

Open
wetneb opened this issue Jan 30, 2022 · 0 comments
Open

Variable columnNames is not available in Jython #4481

wetneb opened this issue Jan 30, 2022 · 0 comments

Comments

@wetneb
Copy link
Sponsor Member

@wetneb wetneb commented Jan 30, 2022

The variable columnNames is not available in Jython, whereas it is available in GREL. It is useful to iterate over all cells in a row, for instance with this expression:
forEach(row.columnNames,cn,cells[cn].value)
(see https://groups.google.com/g/openrefine/c/gV0bLUz7p7o)

Proposed solution

We could make this variable available in Jython too.
It would also be good to document which variable names (and fields) are available in Jython, if this is really meant to differ from what is available in GREL.

Alternatives considered

Make sure all variables and fields offered in GREL are also available in Jython and Clojure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant