We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to be able to access the last element(s) in an array.
KSQL support accessing elements based on offset from the start:
ksql> SELECT SCHEDULE_SEGMENT_LOCATION[0] FROM SCHEDULE_01 LIMIT 1; {"record_identity":"LO","engineering_allowance":"3","line":"AL","public_departure":"0506","tiploc_code":"YORK","departure":"0508","location_type":"LO","platform":"9"} Limit Reached Query terminated
But not the end:
ksql> SELECT SCHEDULE_SEGMENT_LOCATION[-1] FROM SCHEDULE_01 LIMIT 1; null Limit Reached Query terminated
The text was updated successfully, but these errors were encountered:
Fixes confluentinc#2974 Arrays should be indexable from the end too
3872065
fixes confluentinc#2974 Arrays should be indexable from the end too
ef7a82a
Fixes confluentinc#2974 remove complication from test
7069f36
feat: Arrays should be indexable from the end too (#3004)
a166075
* Fixes #2974 Arrays should be indexable from the end too
Successfully merging a pull request may close this issue.
I want to be able to access the last element(s) in an array.
KSQL support accessing elements based on offset from the start:
But not the end:
The text was updated successfully, but these errors were encountered: