Uh oh!
There was an error while loading. Please reload this page.
[SPARK-27159][SQL]update mssql server dialect to support binary type - #24091
[SPARK-27159][SQL]update mssql server dialect to support binary type#24091zhulipeng wants to merge 2 commits into
Conversation
srowen
commented
Mar 14, 2019
What's the difference in SQL Server? I'm just wondering if there are any compatibility problems with older versions, or whether there's an upside to changing the type? |
dongjoon-hyun
commented
Mar 15, 2019
ok to test |
SparkQA
commented
Mar 15, 2019
Test build #103523 has finished for PR 24091 at commit
|
@srowen This is a bug fix for writing binary data back to MsSql Server. |
SparkQA
commented
Mar 15, 2019
Test build #103527 has finished for PR 24091 at commit
|
srowen
commented
Mar 15, 2019
What is this test that is failing -- something you have added locally? Looks OK though. Indeed BLOB doesn't seem to be supported. |
zhulipeng
commented
Mar 15, 2019
Yes, I just add a unit test to read/write Mssql Server through jdbc. I have added this test case to MsSql server docker integration test suite in another PR. #24099 |
srowen
commented
Mar 16, 2019
Merged to master |
## What changes were proposed in this pull request? Change the binary type mapping from default blob to varbinary(max) for mssql server. https://docs.microsoft.com/en-us/sql/t-sql/data-types/binary-and-varbinary-transact-sql?view=sql-server-2017  ## How was this patch tested? Unit test. Closesapache#24091 from lipzhu/SPARK-27159. Authored-by: Zhu, Lipeng <lipzhu@ebay.com> Signed-off-by: Sean Owen <sean.owen@databricks.com>
dongjoon-hyun
commented
Jul 24, 2019
## What changes were proposed in this pull request? Change the binary type mapping from default blob to varbinary(max) for mssql server. https://docs.microsoft.com/en-us/sql/t-sql/data-types/binary-and-varbinary-transact-sql?view=sql-server-2017  ## How was this patch tested? Unit test. Closes#24091 from lipzhu/SPARK-27159. Authored-by: Zhu, Lipeng <lipzhu@ebay.com> Signed-off-by: Sean Owen <sean.owen@databricks.com>
## What changes were proposed in this pull request? Change the binary type mapping from default blob to varbinary(max) for mssql server. https://docs.microsoft.com/en-us/sql/t-sql/data-types/binary-and-varbinary-transact-sql?view=sql-server-2017  ## How was this patch tested? Unit test. Closesapache#24091 from lipzhu/SPARK-27159. Authored-by: Zhu, Lipeng <lipzhu@ebay.com> Signed-off-by: Sean Owen <sean.owen@databricks.com>
## What changes were proposed in this pull request? Change the binary type mapping from default blob to varbinary(max) for mssql server. https://docs.microsoft.com/en-us/sql/t-sql/data-types/binary-and-varbinary-transact-sql?view=sql-server-2017  ## How was this patch tested? Unit test. Closesapache#24091 from lipzhu/SPARK-27159. Authored-by: Zhu, Lipeng <lipzhu@ebay.com> Signed-off-by: Sean Owen <sean.owen@databricks.com>


What changes were proposed in this pull request?
Change the binary type mapping from default blob to varbinary(max) for mssql server.

https://docs.microsoft.com/en-us/sql/t-sql/data-types/binary-and-varbinary-transact-sql?view=sql-server-2017
How was this patch tested?
Unit test.