Skip to content

Commit

Permalink
[#4036] Update the package name to use org.apache.gravitino (#4057)
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

- Update the package name from com.datastrato.gravitino to
org.apache.gravitino

### Why are the changes needed?

- Repo moved.
Fix: #4036

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

`./gradlew build`

---------

Co-authored-by: yuqi <[email protected]>
  • Loading branch information
rich7420 and yuqi1129 authored Jul 15, 2024
1 parent 0429462 commit f3f0c99
Show file tree
Hide file tree
Showing 1,269 changed files with 9,087 additions and 9,128 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/flink-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
- name: Flink Integration Test
id: integrationTest
run: |
./gradlew -PskipTests -PtestMode=embedded -PjdkVersion=${{ matrix.java-version }} -PskipDockerTests=false :flink-connector:test --tests "com.datastrato.gravitino.flink.connector.integration.test.**"
./gradlew -PskipTests -PtestMode=deploy -PjdkVersion=${{ matrix.java-version }} -PskipDockerTests=false :flink-connector:test --tests "com.datastrato.gravitino.flink.connector.integration.test.**"
./gradlew -PskipTests -PtestMode=embedded -PjdkVersion=${{ matrix.java-version }} -PskipDockerTests=false :flink-connector:test --tests "com.apache.gravitino.flink.connector.integration.test.**"
./gradlew -PskipTests -PtestMode=deploy -PjdkVersion=${{ matrix.java-version }} -PskipDockerTests=false :flink-connector:test --tests "com.apache.gravitino.flink.connector.integration.test.**"
- name: Upload integrate tests reports
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/frontend-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ jobs:
- name: Frontend Integration Test
id: integrationTest
run: |
./gradlew -PskipTests -PtestMode=embedded -PjdkVersion=${{ matrix.java-version }} -PskipDockerTests=false :integration-test:test --tests "com.datastrato.gravitino.integration.test.web.ui.**"
./gradlew -PskipTests -PtestMode=deploy -PjdkVersion=${{ matrix.java-version }} -PskipDockerTests=false :integration-test:test --tests "com.datastrato.gravitino.integration.test.web.ui.**"
./gradlew -PskipTests -PtestMode=embedded -PjdkVersion=${{ matrix.java-version }} -PskipDockerTests=false :integration-test:test --tests "com.apache.gravitino.integration.test.web.ui.**"
./gradlew -PskipTests -PtestMode=deploy -PjdkVersion=${{ matrix.java-version }} -PskipDockerTests=false :integration-test:test --tests "com.apache.gravitino.integration.test.web.ui.**"
- name: Upload integrate tests reports
uses: actions/upload-artifact@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/spark-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ jobs:
id: integrationTest
run: |
if [ "${{ matrix.scala-version }}" == "2.12" ];then
./gradlew -PskipTests -PtestMode=${{ matrix.test-mode }} -PjdkVersion=${{ matrix.java-version }} -PscalaVersion=${{ matrix.scala-version }} -PskipDockerTests=false :spark-connector:spark-3.3:test --tests "com.datastrato.gravitino.spark.connector.integration.test.**"
./gradlew -PskipTests -PtestMode=${{ matrix.test-mode }} -PjdkVersion=${{ matrix.java-version }} -PscalaVersion=${{ matrix.scala-version }} -PskipDockerTests=false :spark-connector:spark-3.3:test --tests "com.apache.gravitino.spark.connector.integration.test.**"
fi
./gradlew -PskipTests -PtestMode=${{ matrix.test-mode }} -PjdkVersion=${{ matrix.java-version }} -PscalaVersion=${{ matrix.scala-version }} -PskipDockerTests=false :spark-connector:spark-3.4:test --tests "com.datastrato.gravitino.spark.connector.integration.test.**"
./gradlew -PskipTests -PtestMode=${{ matrix.test-mode }} -PjdkVersion=${{ matrix.java-version }} -PscalaVersion=${{ matrix.scala-version }} -PskipDockerTests=false :spark-connector:spark-3.5:test --tests "com.datastrato.gravitino.spark.connector.integration.test.**"
./gradlew -PskipTests -PtestMode=${{ matrix.test-mode }} -PjdkVersion=${{ matrix.java-version }} -PscalaVersion=${{ matrix.scala-version }} -PskipDockerTests=false :spark-connector:spark-3.4:test --tests "com.apache.gravitino.spark.connector.integration.test.**"
./gradlew -PskipTests -PtestMode=${{ matrix.test-mode }} -PjdkVersion=${{ matrix.java-version }} -PscalaVersion=${{ matrix.scala-version }} -PskipDockerTests=false :spark-connector:spark-3.5:test --tests "com.apache.gravitino.spark.connector.integration.test.**"
- name: Upload integrate tests reports
uses: actions/upload-artifact@v3
Expand Down
98 changes: 49 additions & 49 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -207,82 +207,82 @@
Apache Software License 2.0.

Apache Spark
./api/src/main/java/com/datastrato/gravitino/SchemaChange.java
./api/src/main/java/com/datastrato/gravitino/SupportsSchemas.java
./core/src/main/java/com/datastrato/gravitino/connector/SupportsSchemas.java
./api/src/main/java/com/datastrato/gravitino/rel/TableCatalog.java
./api/src/main/java/com/datastrato/gravitino/rel/TableChange.java
./api/src/main/java/com/datastrato/gravitino/rel/expressions/Literal.java
./api/src/main/java/com/datastrato/gravitino/rel/expressions/sorts/NullOrdering.java
./api/src/main/java/com/datastrato/gravitino/rel/expressions/sorts/SortDirection.java
./api/src/main/java/com/datastrato/gravitino/rel/expressions/sorts/SortOrder.java
./api/src/main/java/com/datastrato/gravitino/rel/expressions/transforms/Transform.java
./api/src/main/java/com/datastrato/gravitino/rel/expressions/Expression.java
./api/src/main/java/com/datastrato/gravitino/rel/expressions/NamedReference.java
./spark-connector/spark-connector/src/test/java/com/datastrato/gravitino/spark/connector/integration/test/util/SparkUtilIT.java
./api/src/main/java/com/com.apache.gravitino/gravitino/SchemaChange.java
./api/src/main/java/com/apache/gravitino/SupportsSchemas.java
./core/src/main/java/com/apache/gravitino/connector/SupportsSchemas.java
./api/src/main/java/com/apache/gravitino/rel/TableCatalog.java
./api/src/main/java/com/apache/gravitino/rel/TableChange.java
./api/src/main/java/com/apache/gravitino/rel/expressions/Literal.java
./api/src/main/java/com/apache/gravitino/rel/expressions/sorts/NullOrdering.java
./api/src/main/java/com/apache/gravitino/rel/expressions/sorts/SortDirection.java
./api/src/main/java/com/apache/gravitino/rel/expressions/sorts/SortOrder.java
./api/src/main/java/com/apache/gravitino/rel/expressions/transforms/Transform.java
./api/src/main/java/com/apache/gravitino/rel/expressions/Expression.java
./api/src/main/java/com/apache/gravitino/rel/expressions/NamedReference.java
./spark-connector/spark-connector/src/test/java/com/apache/gravitino/spark/connector/integration/test/util/SparkUtilIT.java

Apache Iceberg
./api/src/main/java/com/datastrato/gravitino/exceptions/RESTException.java
./catalogs/catalog-hive/src/main/java/com/datastrato/gravitino/catalog/hive/CachedClientPool.java
./catalogs/catalog-hive/src/main/java/com/datastrato/gravitino/catalog/hive/HiveClientPool.java
./catalogs/catalog-hive/src/main/java/com/datastrato/gravitino/catalog/hive/dyn/DynConstructors.java
./catalogs/catalog-hive/src/main/java/com/datastrato/gravitino/catalog/hive/dyn/DynFields.java
./catalogs/catalog-hive/src/main/java/com/datastrato/gravitino/catalog/hive/dyn/DynMethods.java
./catalogs/catalog-hive/src/test/java/com/datastrato/gravitino/catalog/hive/miniHMS/MiniHiveMetastore.java
./catalogs/catalog-hive/src/test/java/com/datastrato/gravitino/catalog/hive/miniHMS/MiniHiveMetastoreService.java
./catalogs/catalog-hive/src/test/java/com/datastrato/gravitino/catalog/hive/miniHMS/ScriptRunner.java
./catalogs/catalog-hive/src/test/java/com/datastrato/gravitino/catalog/hive/TestCachedClientPool.java
./catalogs/catalog-lakehouse-iceberg/src/main/java/com/datastrato/gravitino/catalog/lakehouse/iceberg/web/IcebergExceptionMapper.java
./catalogs/catalog-lakehouse-iceberg/src/main/java/com/datastrato/gravitino/catalog/lakehouse/iceberg/converter/DescribeIcebergSortOrderVisitor.java
./catalogs/catalog-lakehouse-iceberg/src/main/java/com/datastrato/gravitino/catalog/lakehouse/iceberg/utils/IcebergTablePropertiesUtil.java
./catalogs/catalog-lakehouse-iceberg/src/main/java/com/datastrato/gravitino/catalog/lakehouse/iceberg/IcebergHiveCachedClientPool.java
./clients/client-java/src/main/java/com/datastrato/gravitino/client/HTTPClient.java
./clients/client-java/src/main/java/com/datastrato/gravitino/client/RESTClient.java
./clients/client-java/src/test/java/com/datastrato/gravitino/client/TestHTTPClient.java
./common/src/main/java/com/datastrato/gravitino/rest/RESTUtils.java
./common/src/main/java/com/datastrato/gravitino/rest/RESTMessage.java
./core/src/main/java/com/datastrato/gravitino/utils/ClientPool.java
./core/src/main/java/com/datastrato/gravitino/utils/ClientPoolImpl.java
./common/src/main/java/com/datastrato/gravitino/dto/responses/OAuth2TokenResponse.java
./clients/client-java/src/main/java/com/datastrato/gravitino/client/OAuth2ClientUtil.java
./api/src/main/java/com/apache/gravitino/exceptions/RESTException.java
./catalogs/catalog-hive/src/main/java/com/apache/gravitino/catalog/hive/CachedClientPool.java
./catalogs/catalog-hive/src/main/java/com/apache/gravitino/catalog/hive/HiveClientPool.java
./catalogs/catalog-hive/src/main/java/com/apache/gravitino/catalog/hive/dyn/DynConstructors.java
./catalogs/catalog-hive/src/main/java/com/apache/gravitino/catalog/hive/dyn/DynFields.java
./catalogs/catalog-hive/src/main/java/com/apache/gravitino/catalog/hive/dyn/DynMethods.java
./catalogs/catalog-hive/src/test/java/com/apache/gravitino/catalog/hive/miniHMS/MiniHiveMetastore.java
./catalogs/catalog-hive/src/test/java/com/apache/gravitino/catalog/hive/miniHMS/MiniHiveMetastoreService.java
./catalogs/catalog-hive/src/test/java/com/apache/gravitino/catalog/hive/miniHMS/ScriptRunner.java
./catalogs/catalog-hive/src/test/java/com/apache/gravitino/catalog/hive/TestCachedClientPool.java
./catalogs/catalog-lakehouse-iceberg/src/main/java/com/apache/gravitino/catalog/lakehouse/iceberg/web/IcebergExceptionMapper.java
./catalogs/catalog-lakehouse-iceberg/src/main/java/com/apache/gravitino/catalog/lakehouse/iceberg/converter/DescribeIcebergSortOrderVisitor.java
./catalogs/catalog-lakehouse-iceberg/src/main/java/com/apache/gravitino/catalog/lakehouse/iceberg/utils/IcebergTablePropertiesUtil.java
./catalogs/catalog-lakehouse-iceberg/src/main/java/com/apache/gravitino/catalog/lakehouse/iceberg/IcebergHiveCachedClientPool.java
./clients/client-java/src/main/java/com/apache/gravitino/client/HTTPClient.java
./clients/client-java/src/main/java/com/apache/gravitino/client/RESTClient.java
./clients/client-java/src/test/java/com/apache/gravitino/client/TestHTTPClient.java
./common/src/main/java/com/apache/gravitino/rest/RESTUtils.java
./common/src/main/java/com/apache/gravitino/rest/RESTMessage.java
./core/src/main/java/com/apache/gravitino/utils/ClientPool.java
./core/src/main/java/com/apache/gravitino/utils/ClientPoolImpl.java
./common/src/main/java/com/apache/gravitino/dto/responses/OAuth2TokenResponse.java
./clients/client-java/src/main/java/com/apache/gravitino/client/OAuth2ClientUtil.java
./gradlew

Apache Paimon
./catalogs/catalog-lakehouse-paimon/src/main/java/com/datastrato/gravitino/catalog/lakehouse/paimon/utils/TypeUtils.java
./catalogs/catalog-lakehouse-paimon/src/main/java/com/apache/gravitino/catalog/lakehouse/paimon/utils/TypeUtils.java

Apache Hive
./catalogs/catalog-hive/src/test/resources/hive-schema-3.1.0.derby.sql

Apache Zeppelin
./integration-test-common/src/test/java/com/datastrato/gravitino/integration/test/util/CommandExecutor.java
./integration-test-common/src/test/java/com/datastrato/gravitino/integration/test/util/ProcessData.java
./integration-test-common/src/test/java/com/apache/gravitino/integration/test/util/CommandExecutor.java
./integration-test-common/src/test/java/com/apache/gravitino/integration/test/util/ProcessData.java
./web/WEB-INF/web.xml

Apache Hadoop
./dev/docker/hive/hadoop-env.sh
./dev/docker/kerberos-hive/hadoop-env.sh
./dev/docker/kerberos-hive/yarn-env.sh
./common/src/main/java/com/datastrato/gravitino/auth/KerberosUtils.java
./server-common/src/main/java/com/datastrato/gravitino/server/authentication/KerberosAuthenticator.java
./server-common/src/test/java/com/datastrato/gravitino/server/authentication/KerberosTestUtils.java
./server-common/src/main/java/com/datastrato/gravitino/server/authentication/KerberosServerUtils.java
./common/src/main/java/com/apache/gravitino/auth/KerberosUtils.java
./server-common/src/main/java/com/apache/gravitino/server/authentication/KerberosAuthenticator.java
./server-common/src/test/java/com/apache/gravitino/server/authentication/KerberosTestUtils.java
./server-common/src/main/java/com/apache/gravitino/server/authentication/KerberosServerUtils.java

Apache Kafka
./integration-test/src/test/resources/run
./catalogs/catalog-kafka/src/test/resources/run
./core/src/main/java/com/datastrato/gravitino/utils/Bytes.java
./core/src/main/java/com/apache/gravitino/utils/Bytes.java

Apache Submarine
./bin/common.sh

Confluent Kafka Streams Examples
./catalogs/catalog-kafka/src/test/java/com/datastrato/gravitino/catalog/kafka/embedded/KafkaClusterEmbedded.java
./catalogs/catalog-kafka/src/test/java/com/datastrato/gravitino/catalog/kafka/embedded/KafkaEmbedded.java
./catalogs/catalog-kafka/src/test/java/com/datastrato/gravitino/catalog/kafka/embedded/ZooKeeperEmbedded.java
./catalogs/catalog-kafka/src/test/java/com/apache/gravitino/catalog/kafka/embedded/KafkaClusterEmbedded.java
./catalogs/catalog-kafka/src/test/java/com/apache/gravitino/catalog/kafka/embedded/KafkaEmbedded.java
./catalogs/catalog-kafka/src/test/java/com/apache/gravitino/catalog/kafka/embedded/ZooKeeperEmbedded.java

Trino
./integration-test-common/src/test/java/com/datastrato/gravitino/integration/test/util/CloseableGroup.java
./trino-connector/src/main/java/com/datastrato/gravitino/trino/connector/catalog/hive/SortingColumn.java
./integration-test-common/src/test/java/com/apache/gravitino/integration/test/util/CloseableGroup.java
./trino-connector/src/main/java/com/apache/gravitino/trino/connector/catalog/hive/SortingColumn.java

Apache Arrow
./dev/ci/util_free_space.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.datastrato.gravitino;
package com.apache.gravitino;

import com.datastrato.gravitino.annotation.Evolving;
import com.apache.gravitino.annotation.Evolving;
import java.time.Instant;

/** Represents the audit information of an entity. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.datastrato.gravitino;
package com.apache.gravitino;

import com.datastrato.gravitino.annotation.Evolving;
import com.apache.gravitino.annotation.Evolving;

/**
* An auditable entity is an entity that has audit information associated with it. This audit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.datastrato.gravitino;
package com.apache.gravitino;

import com.datastrato.gravitino.annotation.Evolving;
import com.datastrato.gravitino.file.FilesetCatalog;
import com.datastrato.gravitino.messaging.TopicCatalog;
import com.datastrato.gravitino.rel.TableCatalog;
import com.apache.gravitino.annotation.Evolving;
import com.apache.gravitino.file.FilesetCatalog;
import com.apache.gravitino.messaging.TopicCatalog;
import com.apache.gravitino.rel.TableCatalog;
import java.util.Map;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.datastrato.gravitino;
package com.apache.gravitino;

import com.datastrato.gravitino.annotation.Evolving;
import com.apache.gravitino.annotation.Evolving;
import java.util.Objects;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.datastrato.gravitino;
package com.apache.gravitino;

import com.datastrato.gravitino.annotation.Evolving;
import com.apache.gravitino.annotation.Evolving;

/**
* A Catalog provider is a class that provides a short name for a catalog. This short name is used
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/

package com.datastrato.gravitino;
package com.apache.gravitino;

import com.datastrato.gravitino.annotation.Unstable;
import com.apache.gravitino.annotation.Unstable;
import javax.annotation.Nullable;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.datastrato.gravitino;
package com.apache.gravitino;

import com.google.common.base.Joiner;
import com.google.common.base.Preconditions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.datastrato.gravitino;
package com.apache.gravitino;

import com.datastrato.gravitino.annotation.Evolving;
import com.apache.gravitino.annotation.Evolving;
import java.util.Map;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.datastrato.gravitino;
package com.apache.gravitino;

import com.datastrato.gravitino.annotation.Evolving;
import com.apache.gravitino.annotation.Evolving;
import java.util.Objects;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.datastrato.gravitino;
package com.apache.gravitino;

import com.datastrato.gravitino.exceptions.IllegalNameIdentifierException;
import com.apache.gravitino.exceptions.IllegalNameIdentifierException;
import com.google.common.base.Splitter;
import com.google.common.collect.Iterables;
import com.google.errorprone.annotations.FormatMethod;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.datastrato.gravitino;
package com.apache.gravitino;

import com.datastrato.gravitino.exceptions.IllegalNamespaceException;
import com.apache.gravitino.exceptions.IllegalNamespaceException;
import com.google.common.base.Joiner;
import com.google.errorprone.annotations.FormatMethod;
import com.google.errorprone.annotations.FormatString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@
* specific language governing permissions and limitations
* under the License.
*/
package com.datastrato.gravitino;
package com.apache.gravitino;

import com.datastrato.gravitino.annotation.Evolving;
import com.apache.gravitino.annotation.Evolving;
import java.util.Collections;
import java.util.Map;
import javax.annotation.Nullable;

/**
* An interface representing a schema in the {@link com.datastrato.gravitino.Catalog}. A Schema is a
* basic container of relational objects, like tables, views, etc. A Schema can be self-nested,
* which means it can be schema1.schema2.table.
* An interface representing a schema in the {@link Catalog}. A Schema is a basic container of
* relational objects, like tables, views, etc. A Schema can be self-nested, which means it can be
* schema1.schema2.table.
*
* <p>This defines the basic properties of a schema. A catalog implementation with {@link
* com.datastrato.gravitino.SupportsSchemas} should implement this interface.
* SupportsSchemas} should implement this interface.
*/
@Evolving
public interface Schema extends Auditable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
// Referred from Apache Spark's connector/catalog implementation
// sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/NamespaceChange.java

package com.datastrato.gravitino;
package com.apache.gravitino;

import com.datastrato.gravitino.annotation.Evolving;
import com.apache.gravitino.annotation.Evolving;
import java.util.Objects;

/** NamespaceChange class to set the property and value pairs for the namespace. */
Expand Down
Loading

0 comments on commit f3f0c99

Please sign in to comment.