Skip to content

Support mysql BINARY, VARBINARY and Postgres Type::BYTEA#28

Merged
phillipleblanc merged 6 commits into
datafusion-contrib:mainfrom
Sevenannn:qianqian/fix-mysql-pg
Aug 4, 2024
Merged

Support mysql BINARY, VARBINARY and Postgres Type::BYTEA#28
phillipleblanc merged 6 commits into
datafusion-contrib:mainfrom
Sevenannn:qianqian/fix-mysql-pg

Conversation

@Sevenannn
Copy link
Copy Markdown
Contributor

@Sevenannn Sevenannn commented Aug 2, 2024

Support mysql BINARY, VARBINARY and Postgres Type::BYTEA for the mysql table provider and postgres table provider

  • mysql BINARY & CHAR are both of type MYSQL_TYPE_STRING in mysql-async library. Add additional binary flag data to determine mysql binary / char and cast them to arrow binary / largestring accordingly

Comment thread src/sql/arrow_sql_gen/mysql.rs
Copy link
Copy Markdown
Collaborator

@sgrebnov sgrebnov left a comment

Choose a reason for hiding this comment

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

@Sevenannn - great catch on BINARY_FLAG 👍

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