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 @@ -1155,7 +1155,7 @@ public static int getMaxGroupingSets(Session session)

private static void validateHideInaccessibleColumns(boolean value, boolean defaultValue)
{
if (defaultValue == true && value == false) {
if (defaultValue && !value) {
throw new TrinoException(INVALID_SESSION_PROPERTY, format("%s cannot be disabled with session property when it was enabled with configuration", HIDE_INACCESSIBLE_COLUMNS));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public static Map<SchemaTableName, List<ColumnMetadata>> listTableColumns(Sessio
}
}

if (redirectionSucceeded == false) {
if (!redirectionSucceeded) {
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class InternalHiveSplit
private final OptionalInt readBucketNumber;
private final OptionalInt tableBucketNumber;
// This supplier returns an unused statementId, to guarantee that created split
// files do not collide. Successive calls return the the next sequential integer,
// files do not collide. Successive calls return the next sequential integer,
// starting with zero.
private final Supplier<Integer> statementIdSupplier;
private final boolean splittable;
Expand Down