Skip to content

Conversation

@shahar1
Copy link
Contributor

@shahar1 shahar1 commented Mar 3, 2023


closes: #11874

In this PR, two problems are resolved:

  1. "BOOLEAN" data type is added to MSSQLToGCSOperator type map.
  2. Incorrect type conversion in the same operator, from BIT to INT, is resolved by explicitly specifying a sequence of bit fields in the MSSQL schema. Unfortunately, there is no other way for now to detect BIT data types beforehand - as the type ID received by the cursor is identical to INT (3).

^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Mar 3, 2023
…nt type conversion by specifying BIT fields explicitly
@shahar1 shahar1 force-pushed the mssql_to_gcs_bit_to_int branch from 14d1cf6 to 0a346a9 Compare March 3, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MSSQLToBigQuery incorrect type conversion bit-->integer

2 participants