presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/storage/OrcStorageManager.java/OrcStorageManager/specialColumnAdaptation
class OrcStorageManager:    private static ColumnAdaptation specialColumnAdaptation(long columnId, UUID shardUuid, OptionalInt bucketNumber)
    {
        if (isShardRowIdColumn(columnId)) {
            return ColumnAdaptation.rowIdColumn();
        }
        if (isShardUuidColumn(columnId)) {
            return ColumnAdaptation.shardUuidColumn(shardUuid);
        }
        if (isBucketNumberColumn(columnId)) {
            return ColumnAdaptation.bucketNumberColumn(bucketNumber);
        }
        throw new PrestoException(RAPTOR_ERROR, "Invalid column ID: " + columnId);
    }