Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change from housepower to clickhouse #328

Merged
merged 5 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
5 changes: 2 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:

jobs:
publish-release:
if: ${{ startsWith(github.repository, 'housepower/') }}
if: ${{ startsWith(github.repository, 'clickhouse/') }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
Expand Down Expand Up @@ -51,10 +51,9 @@ jobs:
-Prelease
-Psigning.gnupg.keyName='Cheng Pan'
mzitnik marked this conversation as resolved.
Show resolved Hide resolved
-Psigning.gnupg.executable=gpg
-PmavenCentralMirror=https://maven-central.storage-download.googleapis.com/maven2/

create-github-release:
if: ${{ startsWith(github.repository, 'housepower/') }}
if: ${{ startsWith(github.repository, 'clickhouse/') }}
runs-on: ubuntu-22.04
needs: publish-release
steps:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
publish-snapshot:
if: ${{ startsWith(github.repository, 'housepower/') }}
if: ${{ startsWith(github.repository, 'clickhouse/') }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
Expand All @@ -45,4 +45,3 @@ jobs:
-Dspark_binary_version=${{ matrix.spark }}
-PmavenUser='${{ secrets.NEXUS_USER }}'
-PmavenPassword='${{ secrets.NEXUS_PW }}'
mzitnik marked this conversation as resolved.
Show resolved Hide resolved
-PmavenCentralMirror=https://maven-central.storage-download.googleapis.com/maven2/
2 changes: 1 addition & 1 deletion .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
sonar-report:
if: ${{ startsWith(github.repository, 'housepower/') }}
if: ${{ startsWith(github.repository, 'clickhouse/') }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ allprojects {
version = getProjectVersion()

repositories {
maven { url = "$mavenCentralMirror" }
mavenCentral()
mzitnik marked this conversation as resolved.
Show resolved Hide resolved
pan3793 marked this conversation as resolved.
Show resolved Hide resolved
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ abstract class HashFunc[T: ClassTag] {
// Here Array[Byte] means raw byte array, not Clickhouse's Array[UInt8] or Array[Int8].
// Note that Array[UInt8] is handled differently in Clickhouse, so passing it here as Array[Byte] will cause different result.
// This is left for performance issue, as sometimes raw bytes is better than constructing the real type
// see https://github.com/housepower/spark-clickhouse-connector/pull/261#discussion_r1271828750
// see https://github.com/clickhouse/spark-clickhouse-connector/pull/261#discussion_r1271828750
case bytes: Array[Byte] => applyHash(bytes)
case string: String => applyHash(string.getBytes(StandardCharsets.UTF_8))
case _ => throw new IllegalArgumentException(s"Unsupported input type: ${input.getClass}")
Expand Down
6 changes: 3 additions & 3 deletions deploy.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ subprojects {

pom {
name = "Spark ClickHouse Connector"
url = "https://github.com/housepower/spark-clickhouse-connector"
url = "https://github.com/clickhouse/spark-clickhouse-connector"
description = "Spark ClickHouse Connector build on Apache Spark DataSourceV2 API."
developers {
developer {
Expand All @@ -61,11 +61,11 @@ subprojects {
}
}
scm {
url = "https://github.com/housepower/spark-clickhouse-connector.git"
url = "https://github.com/clickhouse/spark-clickhouse-connector.git"
}
issueManagement {
system = 'GitHub'
url = 'https://github.com/housepower/spark-clickhouse-connector/issues'
url = 'https://github.com/clickhouse/spark-clickhouse-connector/issues'
}
}
}
Expand Down
8 changes: 5 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
#

mavenCentralMirror=https://mirrors.cloud.tencent.com/nexus/repository/maven-public/
mzitnik marked this conversation as resolved.
Show resolved Hide resolved
mavenSnapshotsRepo=https://oss.sonatype.org/content/repositories/snapshots/
mavenReleasesRepo=https://oss.sonatype.org/service/local/staging/deploy/maven2/
mavenSnapshotsRepo=https://s01.oss.sonatype.org/content/repositories/snapshots/
mavenReleasesRepo=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/

systemProp.scala_binary_version=2.12
systemProp.known_scala_binary_versions=2.12,2.13
systemProp.spark_binary_version=3.5
systemProp.known_spark_binary_versions=3.3,3.4,3.5

group=com.github.housepower
group=com.clickhouse

clickhouse_jdbc_version=0.6.0

Expand Down Expand Up @@ -62,3 +62,5 @@ kyuubi_version=1.9.0
testcontainers_scala_version=0.41.2
scalatest_version=3.2.16
flexmark_version=0.62.2

mzitnik marked this conversation as resolved.
Show resolved Hide resolved

pan3793 marked this conversation as resolved.
Show resolved Hide resolved