-
Notifications
You must be signed in to change notification settings - Fork 467
JSON datatype support #2558
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
Merged
Merged
JSON datatype support #2558
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
6cbdcc8
JSON feature extension
lilgreenbird e9aff9f
Added JSON data type support in DataTypes
bd40818
JSON startegy in DTV
53d5a3c
Fix Json character encoding and JSON constants.
db34b09
Added JSON datatype test case
01e292e
Added JSON datatype test cases in ResultSet, TVP and Regression scena…
6fb71f8
Added JSON datatype support
84c412e
Added JSON support in IOBuffer.java
35ec418
Json datatype support: SQLServerCallableStatement
Ananya2 931a12e
Updated callableStatementTest.java
Ananya2 46851ea
Fixed JSON op.execute method mapping
abf379d
Added test cases for the TVP type in Callable Statements.
Ananya2 9cde9fa
Fixed Store procedure output param TDS metadata and fixed bulk copy t…
c336b12
Fixed BulkCopy JSON datatype issue.
de859f1
Removed duplicate code and used existing method to solve Bulk opy iss…
3e1b80f
Added test cases for Bulk copy
11be809
Enhanced JSON datatype regression test
dbc84c1
Added JSON metadata test case
ecad3dc
Hanlded review comment: removed JSON type in Textual category and pre…
2997ec9
Added JSON support for BulkCopyCSV, included test cases to validate i…
Ananya2 fbf598d
Added test for Bulk Copy
muskan124947 f378362
Add test for datatype conversions
muskan124947 cf52cf6
Validated nested JSON for bulkCopyCSV()
Ananya2 5b465bb
Removed local formatting done by default
muskan124947 d62610c
Fixed JSON displaySize and precision value in TypeInfo
e3c43cd
Enhance parseString() to support nested JSON and multiple key-value p…
Ananya2 caf6335
Fixed JSON datatype setObject issue
e461fbb
Updated regression test case for JSON datatype: mix of addBatch, exec…
21b4682
Updated as per the review comment to validate the getString() result …
Ananya2 7fa11b9
Updated and added more test scenarios for Bulk Copy
muskan124947 7a3dfd0
Added JSONFunctionTest to test JSON functions
muskan124947 cd8cf00
Optimized string parsing to avoid unnecessary allocations.
Ananya2 da0661b
formatted as per the older version
Ananya2 75b5860
Improve CSV parsing by correctly detecting JSON fields with double qu…
Ananya2 f515230
Remove reference to non-existent test file BulkCopyCSVTestInputNoColu…
Ananya2 058ac25
Updated JSONFunction Test class
muskan124947 60db92f
Adding tag JSONTest for some test cases
muskan124947 9b64c90
Added and validated test cases for JSON support in JOIN queries, glob…
Ananya2 93f54a1
Added test case to validate UDF returning JSON output; included metad…
Ananya2 3f1d913
Added tests for OPENJSON()
muskan124947 1997e48
Added tests for OPENJSON() function
muskan124947 d38358a
Added tests to handle large JSON file upto 2GB
muskan124947 f48c7bb
Add test cases to perform operations using Prepared Statement and use…
muskan124947 436e204
Updated test to insert large json data and verify no packet loss is t…
muskan124947 49798ef
Added JSONTest tag to all the test cases
muskan124947 0c55295
removed duplicate
Ananya2 808976d
Added JSONTest exclusion tag for test using JSON
Ananya2 d114551
added relevant comments
Ananya2 409cf3a
added JSONTest exclusion tag
Ananya2 9d20962
fixed pipeline failure
Ananya2 e408713
fixed failing JSON test cases
Ananya2 29b393a
Updated writeRPCJson and checkValidColumns methods.
Ananya2 449cefd
updated build.gradle file to add JSONTest exclusion tag
Ananya2 d2ccc2d
Refactor: conversion only required for temporal data types
Ananya2 9aa455d
Fixed registerOutParameter for json support and updated the writeRPCJ…
Ananya2 7b23fc8
added assertion and removed print statement
Ananya2 e358253
updated as per review comments.
Ananya2 f7a3e0b
Addressed review comments: randomized table/procedure names, and remo…
Ananya2 01c33e6
Resolved the formatting issue directly through the GitHub UI, as it w…
Ananya2 c10345f
Addressed PR review comments.
Ananya2 f8d3c0b
Added Bulk Copy tests with/without sendStringParametersAsUnicode, JSO…
Ananya2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.