Skip to content

fix: support MSSQL datatypes having raw byte values#845

Open
vishalm0509 wants to merge 4 commits intostagingfrom
fix/mssql_datatype
Open

fix: support MSSQL datatypes having raw byte values#845
vishalm0509 wants to merge 4 commits intostagingfrom
fix/mssql_datatype

Conversation

@vishalm0509
Copy link
Collaborator

Description

Some MSSQL types return raw []byte values, which were causing UTF-8 corruption/invalid text when treated as strings downstream.

This change base64-encodes those byte-backed types (binary, varbinary, image, rowversion, timestamp, hierarchyid, sql_variant) before emission so values are preserved safely and consistently.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Scenario A
  • Scenario B

Screenshots or Recordings

Documentation

  • Documentation Link: [link to README, olake.io/docs, or olake-docs]
  • N/A (bug fix, refactor, or test changes only)

Related PR's (If Any):

@vishalm0509 vishalm0509 changed the base branch from master to staging February 24, 2026 04:29
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.

1 participant