Skip to content

Commit

Permalink
Add import for time related types
Browse files Browse the repository at this point in the history
  • Loading branch information
Torch3333 committed Jan 10, 2025
1 parent f851464 commit c6999af
Show file tree
Hide file tree
Showing 46 changed files with 1,312 additions and 319 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ jobs:
steps:
- name: Run MySQL 5.7
run: |
docker run -e MYSQL_ROOT_PASSWORD=mysql -p 3306:3306 -d mysql:5.7 --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
docker run -e MYSQL_ROOT_PASSWORD=mysql -p 3306:3306 -d mysql:5.7 --character-set-server=utf8mb4 --collation-server=utf8mb4_bin --explicit-defaults-for-timestamp
- uses: actions/checkout@v4

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.scalar.db.storage.jdbc;

import com.scalar.db.api.TableMetadata;
import com.scalar.db.api.DistributedStorageAdminImportTableIntegrationTestBase.TestData;
import com.scalar.db.exception.storage.ExecutionException;
import com.scalar.db.transaction.consensuscommit.ConsensusCommitAdminImportTableIntegrationTestBase;
import java.sql.SQLException;
import java.util.Map;
import java.util.List;
import java.util.Properties;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIf;
Expand Down Expand Up @@ -44,8 +44,7 @@ public void afterAll() {
}

@Override
protected Map<String, TableMetadata> createExistingDatabaseWithAllDataTypes()
throws SQLException {
protected List<TestData> createExistingDatabaseWithAllDataTypes() throws SQLException {
return testUtils.createExistingDatabaseWithAllDataTypes(getNamespace());
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package com.scalar.db.storage.jdbc;

import com.scalar.db.api.DistributedStorageAdminImportTableIntegrationTestBase;
import com.scalar.db.api.TableMetadata;
import com.scalar.db.exception.storage.ExecutionException;
import java.sql.SQLException;
import java.util.Map;
import java.util.List;
import java.util.Properties;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIf;
Expand Down Expand Up @@ -44,8 +43,7 @@ public void afterAll() {
}

@Override
protected Map<String, TableMetadata> createExistingDatabaseWithAllDataTypes()
throws SQLException {
protected List<TestData> createExistingDatabaseWithAllDataTypes() throws SQLException {
return testUtils.createExistingDatabaseWithAllDataTypes(getNamespace());
}

Expand Down
Loading

0 comments on commit c6999af

Please sign in to comment.