This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* * Licensed to the Apache Software Foundation (ASF) under one | |
* * or more contributor license agreements. See the NOTICE file | |
* * distributed with this work for additional information | |
* * regarding copyright ownership. The ASF licenses this file | |
* * to you under the Apache License, Version 2.0 (the | |
* * "License"); you may not use this file except in compliance | |
* * with the License. You may obtain a copy of the License at | |
* * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /v1/namespaces/ns/tables/t/scans | |
{ "filter": { "type": "in", "term": "x", "values": [1, 2, 3] }, "select": ["x", "a.b"]} | |
{ "scan-id": 1, "shards": { "id": 1, "manifests": ["C"] }, { "id": 2, "manifests": ["D"] } } | |
POST /v1/namespaces/ns/tables/t/scans?scan-id=1 | |
{ "shard": { "id": 1, "manifests": ["C"] }, "filter": {"type": "in", "term": "x", "values": [1, 2, 3] } } | |
{ "file-scan-tasks": [...] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/./flink/v1.14/build.gradle b/./flink/v1.15/build.gradle | |
index a0e01c8a4..46572696f 100644 | |
--- a/./flink/v1.14/build.gradle | |
+++ b/./flink/v1.15/build.gradle | |
@@ -17,8 +17,8 @@ | |
* under the License. | |
*/ | |
-String flinkVersion = '1.14.0' | |
-String flinkMajorVersion = '1.14' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance | |
* with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.apache.iceberg.types; | |
import java.util.List; | |
import org.apache.iceberg.Schema; | |
import org.apache.iceberg.relocated.com.google.common.collect.Lists; | |
public abstract class SchemaWithPartnerVisitor<P, R> { | |
public interface PartnerAccessors<P> { | |
P fieldPartner(P partnerStruct, int fieldId, String name); | |
P mapKeyPartner(P partnerMap); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The base physical plan for writing data into data source v2. | |
*/ | |
abstract class V2TableWriteExec( | |
options: Map[String, String], | |
query: SparkPlan) extends SparkPlan { | |
import org.apache.spark.sql.sources.v2.DataSourceV2Implicits._ | |
def partitioning: Seq[PartitionTransform] | |
override def children: Seq[SparkPlan] = Seq(query) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Interface used to write a [[Dataset]] to external storage using the v2 API. | |
* | |
* @since 3.0.0 | |
*/ | |
@Experimental | |
final class DataFrameWriterV2[T] private[sql](table: String, ds: Dataset[T]) | |
extends CreateTableWriter[T] with LookupCatalog { | |
import org.apache.spark.sql.catalog.v2.CatalogV2Implicits._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Licensed to the Apache Software Foundation (ASF) under one or more | |
* contributor license agreements. See the NOTICE file distributed with | |
* this work for additional information regarding copyright ownership. | |
* The ASF licenses this file to You under the Apache License, Version 2.0 | |
* (the "License"); you may not use this file except in compliance with | |
* the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Licensed to the Apache Software Foundation (ASF) under one or more | |
* contributor license agreements. See the NOTICE file distributed with | |
* this work for additional information regarding copyright ownership. | |
* The ASF licenses this file to You under the Apache License, Version 2.0 | |
* (the "License"); you may not use this file except in compliance with | |
* the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.nio.ByteBuffer; | |
import java.util.Comparator; | |
public class Comparators { | |
public static Comparator<ByteBuffer> unsignedBytes() { | |
return UnsignedByteBufComparator.INSTANCE; | |
} | |
public static Comparator<ByteBuffer> signedBytes() { | |
return Comparator.naturalOrder(); |
NewerOlder