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

feat: add array cell type support #347

Merged
merged 3 commits into from
Sep 20, 2024
Merged

feat: add array cell type support #347

merged 3 commits into from
Sep 20, 2024

Conversation

burmecia
Copy link
Member

What kind of change does this PR introduce?

This PR is to add Array cell type support.

What is the current behavior?

Currently array cell type isn't supported.

What is the new behavior?

Add below array cell types support to framework.

  • BoolArray
  • I16Array
  • I32Array
  • I64Array
  • F32Array
  • F64Array
  • StringArray

Additional context

N/A

@@ -79,6 +79,7 @@ impl From<&HostCell> for GuestCell {
Self::Timestamptz(v.into_inner() + 946_684_800_000_000)
}
HostCell::Json(v) => Self::Json(v.0.to_string()),
_ => todo!(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

was this intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's quite big change to add array type support for wasm fdw, so I just mark it as todo to keep this PR simple. Will add the array type to wasm fdw it in another PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

todo! can be passed a string which can explain the reasoning for the todo.

Copy link
Member Author

Choose a reason for hiding this comment

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

todo message is added.

Copy link

@burmecia burmecia merged commit 349748e into main Sep 20, 2024
3 checks passed
@burmecia burmecia deleted the bo/feat/array-type branch September 20, 2024 08:52
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.

3 participants