Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ public void testCSV2400() {
* It verifies that the data is copied correctly by comparing the values in the table with the expected values.
*/
@Test
@AzureDB
@DisplayName("Test Bulk Copy with JSON Data")
@Tag(Constants.JSONTest)
public void testBulkCopyWithJson() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ public void testBulkCopyVector() throws SQLException {
* Test bulk copy with a single JSON row.
*/
@Test
@AzureDB
@Tag(Constants.JSONTest)
public void testBulkCopyJSON() throws SQLException {
String dstTable = TestUtils
Expand Down Expand Up @@ -235,6 +236,7 @@ public void testBulkCopyJSON() throws SQLException {
* Test bulk copy with empty JSON document
*/
@Test
@AzureDB
@Tag(Constants.JSONTest)
public void testBulkCopyWithEmptyJsonDocument() throws SQLException {
String dstTable = TestUtils
Expand Down Expand Up @@ -274,6 +276,7 @@ public void testBulkCopyWithEmptyJsonDocument() throws SQLException {
* and compared using getString(columnIndex)
*/
@Test
@AzureDB
@Tag(Constants.JSONTest)
public void testBulkCopyMultipleJsonRowsWithDifferentStructures() throws SQLException {
String dstTable = TestUtils
Expand Down Expand Up @@ -316,6 +319,7 @@ public void testBulkCopyMultipleJsonRowsWithDifferentStructures() throws SQLExce
* Test bulk copy with multiple JSON rows.
*/
@Test
@AzureDB
@Tag(Constants.JSONTest)
public void testBulkCopyMultipleJsonRows() throws SQLException {
String dstTable = TestUtils
Expand Down Expand Up @@ -358,6 +362,7 @@ public void testBulkCopyMultipleJsonRows() throws SQLException {
* Test bulk copy with multiple JSON rows and columns.
*/
@Test
@AzureDB
@Tag(Constants.JSONTest)
public void testBulkCopyMultipleJsonRowsAndColumns() throws SQLException {
String dstTable = TestUtils
Expand Down Expand Up @@ -400,6 +405,7 @@ public void testBulkCopyMultipleJsonRowsAndColumns() throws SQLException {
* Test bulk copy with sendStringParametersAsUnicode set to true and false for JSON column.
*/
@Test
@AzureDB
@Tag(Constants.JSONTest)
public void testBulkCopyWithSendStringParametersAsUnicode() throws SQLException {
// Unicode scenario
Expand Down Expand Up @@ -459,6 +465,7 @@ public void testBulkCopyWithSendStringParametersAsUnicode() throws SQLException
* Test bulk copy with nested JSON documents.
*/
@Test
@AzureDB
@Tag(Constants.JSONTest)
public void testBulkCopyNestedJsonRows() throws SQLException {
String dstTable = TestUtils
Expand Down Expand Up @@ -501,6 +508,7 @@ public void testBulkCopyNestedJsonRows() throws SQLException {
* Test bulk copy with various data types in JSON.
*/
@Test
@AzureDB
@Tag(Constants.JSONTest)
public void testBulkCopyWithVariousDataTypes() throws SQLException {
String dstTable = TestUtils
Expand Down Expand Up @@ -539,6 +547,7 @@ public void testBulkCopyWithVariousDataTypes() throws SQLException {
* Test bulk copy with count verification.
*/
@Test
@AzureDB
@Tag(Constants.JSONTest)
public void testBulkCopyWithCountVerification() throws SQLException {
String dstTable = TestUtils
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import com.microsoft.sqlserver.jdbc.TestUtils;
import com.microsoft.sqlserver.testframework.AbstractSQLGenerator;
import com.microsoft.sqlserver.testframework.AbstractTest;
import com.microsoft.sqlserver.testframework.AzureDB;
import com.microsoft.sqlserver.testframework.Constants;


Expand Down Expand Up @@ -610,6 +611,7 @@ public void testTimestampStringConversion() throws SQLException {
* @throws SQLException
*/
@Test
@AzureDB
@Tag(Constants.JSONTest)
public void testJSONColumnInTableWithSetObject() throws SQLException {

Expand All @@ -631,6 +633,7 @@ public void testJSONColumnInTableWithSetObject() throws SQLException {
}

@Test
@AzureDB
@Tag(Constants.JSONTest)
public void testJSONProcedureWithSetObject() throws SQLException {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1160,6 +1160,7 @@ public void testVectorMetaData() throws SQLException {
* @throws SQLException
*/
@Test
@AzureDB
@Tag(Constants.JSONTest)
public void testJSONMetaData() throws SQLException {
String jsonTableName = RandomUtil.getIdentifier("try_SQLJSON_Table");
Expand Down
Loading