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

Update Core to 2.18 #325

Merged
merged 21 commits into from
Dec 15, 2023
Merged

Conversation

teo-tsirpanis
Copy link
Member

@teo-tsirpanis teo-tsirpanis commented Nov 22, 2023

Copy link

This pull request has been linked to Shortcut Story #29964: [CSharp] Support aggregate pushdown.

/// <remarks>
/// This class abstracts the <c>tiledb_channel_operation_t</c> type of the TileDB C API.
/// </remarks>
public abstract class AggregateOperation
Copy link
Member Author

Choose a reason for hiding this comment

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

I named this AggregateOperation instead of ChannelOperation or QueryChannelOperation. I believe it conveys its meaning better, and the first alternative is confusing (what is a channel?), and the second alternative is long.

This is a managed class that does not directly contain a tiledb_channel_operation_t*. Instead it encapsulates the logic to create it, which gets done when actually passed to the C API.

/// <remarks>
/// This class abstracts the <c>tiledb_channel_operator_t</c> type of the TileDB C API.
/// </remarks>
public abstract class AggregateOperator
Copy link
Member Author

Choose a reason for hiding this comment

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

Same as AggregateOperation.

@teo-tsirpanis teo-tsirpanis marked this pull request as ready for review December 14, 2023 01:48
Copy link
Contributor

@shaunrd0 shaunrd0 left a comment

Choose a reason for hiding this comment

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

Left a few comments, mostly small fixes for docs or questions on error handling. Looks really great overall 👍

tests/TileDB.CSharp.Test/EnumerationTest.cs Show resolved Hide resolved
tests/TileDB.CSharp.Test/AggregatesTest.cs Show resolved Hide resolved
sources/TileDB.CSharp/QueryChannel.cs Show resolved Hide resolved
sources/TileDB.CSharp/QueryField.cs Outdated Show resolved Hide resolved
sources/TileDB.CSharp/QueryChannel.cs Outdated Show resolved Hide resolved
sources/TileDB.CSharp/QueryField.cs Outdated Show resolved Hide resolved
sources/TileDB.CSharp/QueryField.cs Outdated Show resolved Hide resolved
sources/TileDB.CSharp/QueryField.cs Outdated Show resolved Hide resolved
@teo-tsirpanis
Copy link
Member Author

Feedback addressed, CI is green, I'm going to merge it…

@teo-tsirpanis teo-tsirpanis merged commit c9a8023 into TileDB-Inc:main Dec 15, 2023
4 checks passed
@teo-tsirpanis teo-tsirpanis deleted the update-2.18 branch December 15, 2023 22:39
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.

2 participants