Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support binary result format #3316

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

Open
msand wants to merge 1 commit into brianc:master
base: master
Choose a base branch
Loading
from msand:support_binary
Open

Conversation

Copy link

@msand msand commented Sep 19, 2024

No description provided.

Copy link
Collaborator

@charmander charmander left a comment

Choose a reason for hiding this comment

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

Thanks for the bug fix in the serializer.

Tests?

// a -1 for length means the value of the field is null
fields[i] = len === -1 ? null : this.reader.string(len)
fields[i] = len === -1 ? null : textMode ? reader.string(len) : reader.bytes(len)
Copy link
Collaborator

@charmander charmander Oct 8, 2024

Choose a reason for hiding this comment

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

Should this use the field’s mode?

The constructor also still has

if (opts?.mode === 'binary') {
 throw new Error('Binary mode not supported yet')
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

Agreed that mode is incorrect here.

This may be fixed by #3495

const columnFormatCount = 0
writer.addInt16(columnFormatCount)
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

this has been fixed by #3494

msand reacted with thumbs up emoji
Copy link
Author

Choose a reason for hiding this comment

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

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@hjr3 hjr3 hjr3 left review comments

@charmander charmander charmander requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /