Skip to content

Commit 486dbca

Browse files
committed
proper parsing of scan.single=true property
1 parent 10354e9 commit 486dbca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/tech/ydb/spark/connector/YdbConnector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public YdbConnector(String catalogName, Map<String, String> props) {
4646
this.defaultTypes = new YdbTypes(this.connectOptions);
4747
this.defaultIngestMethod = YdbIngestMethod.fromString(
4848
this.connectOptions.get(YdbOptions.INGEST_METHOD));
49-
this.singlePartitionScans = Boolean.getBoolean(props.getOrDefault(SCAN_SINGLE, "false"));
49+
this.singlePartitionScans = Boolean.parseBoolean(props.getOrDefault(SCAN_SINGLE, "false"));
5050
int poolSize = getPoolSize(props);
5151
GrpcTransportBuilder builder = GrpcTransport.forConnectionString(props.get(URL));
5252
builder = applyCaSettings(builder, props);

0 commit comments

Comments
 (0)