Skip to content
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

Add support for ORDER hint #45

Open
yorek opened this issue Aug 27, 2020 · 1 comment
Open

Add support for ORDER hint #45

yorek opened this issue Aug 27, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@yorek
Copy link
Member

yorek commented Aug 27, 2020

BULK INSERT allow to specify if data already has a specific order so that Azure SQL / SQL Server can avoid sorting it again if inserting data into a clustered index.

https://docs.microsoft.com/en-us/sql/t-sql/statements/bulk-insert-transact-sql?view=sql-server-ver15

@rajmera3 rajmera3 added the enhancement New feature or request label Aug 27, 2020
@luxu1-ms
Copy link
Collaborator

There is no implementation of order hints for SQLServerBulkCopy.class, SQLServerBulkCopyOptions.class. Thus it is not able to add hint support in spark mssql connector. I opened the issue below in MSSQL JDBC repo to ask the mssql jdbc team to support the order hints.
microsoft/mssql-jdbc#1481

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants