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

Add a ring table #2220

Merged
merged 14 commits into from
Apr 19, 2022
Merged

Add a ring table #2220

merged 14 commits into from
Apr 19, 2022

Conversation

devinrsmith
Copy link
Member

No description provided.

@devinrsmith
Copy link
Member Author

Unit tests forthcoming.

@devinrsmith devinrsmith requested a review from rcaudy April 14, 2022 22:48
@@ -373,6 +373,11 @@ def base64Fingerprint(source):
return _java_type_.base64Fingerprint(source)


@_passThrough
def booleanCol(name, *data):
return _java_type_.booleanCol(name, *data)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this is missing documentation, relative to its peers. Also, it's notably different (not wrapping _custom_booleanCol).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, this code is actually the correct implementation - the custom ones are for primitives. The missing pydoc is because I didn't follow-up with some .json changes (check fails if the python method booleanCol is missing, but not if the pydoc is "wrong"). Since we are axing legacy shortly, I figure it's better to not change hundreds of files (other small doc changes have been accumulating, but nobody has re-run the python generator); and leave as-is?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or you could re-run the generator? This is my (paranoid) pre-commit script:

./gradlew :replication-static:replicateAllSafe
./gradlew :replication-reflective:replicateAll
./gradlew spotlessApply
rm -r Integrations/python/deephaven/doc/*
./gradlew :Generators:generateAllPython
./gradlew :Generators:groovyStaticImportGenerator
./gradlew spotlessApply

@devinrsmith devinrsmith requested a review from rcaudy April 19, 2022 00:55
rcaudy
rcaudy previously approved these changes Apr 19, 2022
fillRingFromMiddle(source, chunk, fillContext, it, fillStartIx, appendChunkSize);
fillRingFromStart(source, chunk, fillContext, it, fillStartIx, appendChunkSize);
}
nextRingIx += logicalFillSize;
}

private void skipRows(Iterator it, long skipKey, long expectedDistance) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

static?

@rcaudy rcaudy merged commit e1e81e2 into deephaven:main Apr 19, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 19, 2022
@devinrsmith devinrsmith deleted the ring-table branch August 29, 2022 16:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants