Class SqlTestUtil

java.lang.Object
org.apache.arrow.adbc.driver.testsuite.SqlTestUtil

public final class SqlTestUtil extends Object
  • Constructor Details

  • Method Details

    • isCI

      public static boolean isCI()
      Check if we are running in the Arrow CI.
    • ingestTableIntsStrs

      public org.apache.arrow.vector.types.pojo.Schema ingestTableIntsStrs(org.apache.arrow.memory.BufferAllocator allocator, AdbcConnection connection, String tableName) throws Exception
      Load a simple table with two columns.
      Throws:
      Exception
    • ingestTableWithConstraints

      public org.apache.arrow.vector.types.pojo.Schema ingestTableWithConstraints(org.apache.arrow.memory.BufferAllocator allocator, AdbcConnection connection, String tableName) throws Exception
      Load a table with composite primary key
      Throws:
      Exception
    • ingestTablesWithReferentialConstraint

      public void ingestTablesWithReferentialConstraint(org.apache.arrow.memory.BufferAllocator allocator, AdbcConnection connection, String mainTable, String dependentTable) throws Exception
      Load two tables with foreign key relationship between them
      Throws:
      Exception