Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.
Closed
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
12 changes: 12 additions & 0 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,18 @@ integration)
;;
graalvm)
# Run Unit and Integration Tests with Native Image
echo "Install GraalVM 25"
echo "$JAVA_HOME"
pwd
mkdir -p ~/tools/jdk
cd ~/tools/jdk
wget https://download.oracle.com/graalvm/25/latest/graalvm-jdk-25_linux-x64_bin.tar.gz
tar -xf graalvm-jdk-25_linux-x64_bin.tar.gz
export JAVA_HOME=~/tools/jdk/graalvm-jdk-25+37.1
export PATH=$JAVA_HOME/bin:$PATH
java -version
echo "Running native image tests..."
cd "${scriptDir}/.."
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test -Dfmt.skip=true
RETURN_CODE=$?
;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ void start() {
if (!(channelPrimer instanceof BigtableChannelPrimer)) {
logger.log(
Level.WARNING,
"Provided channelPrimer not an instance of BigtableChannelPrimer, not checking channel health.");
"Provided channelPrimer not an instance of BigtableChannelPrimer, not checking channel"
+ " health.");
return;
}

Expand Down
3 changes: 2 additions & 1 deletion owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,6 @@ def make_internal_only(sources):
'.github/release-please.yml',
'renovate.json',
'.kokoro/requirements.in',
'.kokoro/requirements.txt'
'.kokoro/requirements.txt',
'.kokoro/build.sh'
])
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
import com.google.bigtable.v2.Type.Timestamp;
import com.google.bigtable.v2.Value;
import com.google.cloud.Date;
import com.google.cloud.bigtable.common.Type.SchemalessEnum;
import com.google.cloud.bigtable.common.Type.SchemalessProto;
import com.google.cloud.bigtable.data.v2.models.sql.ColumnMetadata;
import com.google.cloud.bigtable.data.v2.models.sql.ResultSet;
import com.google.cloud.bigtable.data.v2.models.sql.SqlType;
import com.google.cloud.bigtable.common.Type.SchemalessProto;
import com.google.cloud.bigtable.common.Type.SchemalessEnum;
import com.google.cloud.bigtable.data.v2.models.sql.StructReader;
import com.google.protobuf.ByteString;
import java.time.Instant;
Expand Down Expand Up @@ -235,14 +235,21 @@ private static Type toProtoType(SqlType<?> type) {
case PROTO:
SchemalessProto protoType = (SchemalessProto) type;
return Type.newBuilder()
.setProtoType(Proto.newBuilder().setMessageName(protoType.getMessageName())
.setSchemaBundleId(protoType.schemaBundleId()).build()).build();
.setProtoType(
Proto.newBuilder()
.setMessageName(protoType.getMessageName())
.setSchemaBundleId(protoType.schemaBundleId())
.build())
.build();
case ENUM:
SchemalessEnum enumType = (SchemalessEnum) type;
return Type.newBuilder()
.setEnumType(
com.google.bigtable.v2.Type.Enum.newBuilder().setEnumName(enumType.getEnumName())
.setSchemaBundleId(enumType.schemaBundleId()).build()).build();
com.google.bigtable.v2.Type.Enum.newBuilder()
.setEnumName(enumType.getEnumName())
.setSchemaBundleId(enumType.schemaBundleId())
.build())
.build();
default:
throw new IllegalStateException("Unexpected Type: " + type);
}
Expand Down
Loading