This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-fury.git
The following commit(s) were added to refs/heads/main by this push:
new 0251df04 chore(doc): add incubating DISCLAIMER (#1681)
0251df04 is described below
commit 0251df047ee9bb7ad9593f019409413fa8cc0948
Author: Shawn Yang <[email protected]>
AuthorDate: Wed Jun 12 00:00:02 2024 +0800
chore(doc): add incubating DISCLAIMER (#1681)
## What does this PR do?
add incubating DISCLAIMER
## Related issues
<!--
Is there any related issue? Please attach here.
- #xxxx0
- #xxxx1
- #xxxx2
-->
## Does this PR introduce any user-facing change?
<!--
If any user-facing interface changes, please [open an
issue](https://github.com/apache/incubator-fury/issues/new/choose)
describing the need to do so and update the document if necessary.
-->
- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
<!--
When the PR has an impact on performance (if you don't know whether the
PR will have an impact on performance, you can submit the PR first, and
if it will have impact on performance, the code reviewer will explain
it), be sure to attach a benchmark data here.
-->
---
.github/ISSUE_TEMPLATE/bug_report.yml | 10 ++++-----
.github/pull_request_template.md | 6 ++---
.github/sync.yml | 2 +-
.github/workflows/release.yaml | 4 ++--
CONTRIBUTING.md | 10 ++++-----
README.md | 20 +++++++++++------
ci/format.sh | 2 +-
docs/guide/DEVELOPMENT.md | 2 +-
docs/guide/graalvm_guide.md | 26 +++++++++++-----------
docs/guide/scala_guide.md | 6 ++---
docs/guide/xlang_serialization_guide.md | 8 +++----
docs/specification/java_serialization_spec.md | 2 +-
docs/specification/xlang_serialization_spec.md | 4 ++--
go/fury/fury_xlang_test.go | 2 +-
go/fury/go.mod | 2 +-
.../org/apache/fury/benchmark/state/JsonTest.java | 2 +-
.../java/org/apache/fury/reflect/TypeRefTest.java | 4 ++--
.../fury/serializer/CodegenSerializerTest.java | 2 +-
.../serializer/collection/MapSerializersTest.java | 2 +-
java/pom.xml | 8 +++----
javascript/package.json | 2 +-
javascript/packages/fury/package.json | 2 +-
rust/Cargo.toml | 2 +-
.../org/apache/fury/serializer/ScalaTest.scala | 6 ++---
24 files changed, 71 insertions(+), 65 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml
b/.github/ISSUE_TEMPLATE/bug_report.yml
index dc37b26b..2ce165de 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -26,16 +26,16 @@ body:
attributes:
label: Search before asking
description: >
- Please make sure to search in the
[issues](https://github.com/apache/incubator-fury/issues) first to see whether
the same issue was reported already.
+ Please make sure to search in the
[issues](https://github.com/apache/fury/issues) first to see whether the same
issue was reported already.
options:
- label: >
- I had searched in the
[issues](https://github.com/apache/incubator-fury/issues) and found no similar
issues.
+ I had searched in the
[issues](https://github.com/apache/fury/issues) and found no similar issues.
required: true
- type: textarea
attributes:
label: Version
description: >
- Please provide the versions of Fury, OS, and others such as
JDK/Python/Gcc/Clang/Go/NodeJS if they are used.
+ Please provide the versions of Fury, OS, and others such as
JDK/Python/Gcc/Clang/Go/NodeJS if they are used.
If Fury is the unstable version, please input commit id.
validations:
required: true
@@ -80,10 +80,10 @@ body:
attributes:
label: Are you willing to submit a PR?
description: >
- We very much look forward to developers or users to help solve Fury
problems together.
+ We very much look forward to developers or users to help solve Fury
problems together.
If you are willing to submit a PR to fix this problem, please tick it.
options:
- label: I'm willing to submit a PR!
- type: markdown
attributes:
- value: "Thanks for completing our form!"
\ No newline at end of file
+ value: "Thanks for completing our form!"
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 6e5d4d60..fcd36c1e 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -1,11 +1,11 @@
<!--
**Thanks for contributing to Fury.**
-**If this is your first time opening a PR on fury, you can refer to
[CONTRIBUTING.md](https://github.com/apache/incubator-fury/blob/main/CONTRIBUTING.md).**
+**If this is your first time opening a PR on fury, you can refer to
[CONTRIBUTING.md](https://github.com/apache/fury/blob/main/CONTRIBUTING.md).**
Contribution Checklist
- - The **Apache Fury (incubating)** community has restrictions on the
naming of pr titles. You can also find instructions in
[CONTRIBUTING.md](https://github.com/apache/incubator-fury/blob/main/CONTRIBUTING.md).
+ - The **Apache Fury (incubating)** community has restrictions on the
naming of pr titles. You can also find instructions in
[CONTRIBUTING.md](https://github.com/apache/fury/blob/main/CONTRIBUTING.md).
- Fury has a strong focus on performance. If the PR you submit will have
an impact on performance, please benchmark it first and provide the benchmark
result here.
-->
@@ -29,7 +29,7 @@ Is there any related issue? Please attach here.
## Does this PR introduce any user-facing change?
<!--
-If any user-facing interface changes, please [open an
issue](https://github.com/apache/incubator-fury/issues/new/choose) describing
the need to do so and update the document if necessary.
+If any user-facing interface changes, please [open an
issue](https://github.com/apache/fury/issues/new/choose) describing the need to
do so and update the document if necessary.
-->
- [ ] Does this PR introduce any public API change?
diff --git a/.github/sync.yml b/.github/sync.yml
index 432f85c5..87e9c8f4 100644
--- a/.github/sync.yml
+++ b/.github/sync.yml
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-apache/incubator-fury-site@main:
+apache/fury-site@main:
- source: docs/guide/
dest: docs/guide/
- source: docs/specification/
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index b1d5fd81..209c17c6 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -26,7 +26,7 @@ jobs:
release-python:
name: Publish Fury Python to PyPI
runs-on: ubuntu-20.04
- if: github.repository == 'apache/incubator-fury'
+ if: github.repository == 'apache/fury'
environment:
name: pypi
url: https://pypi.org/project/pyfury
@@ -43,7 +43,7 @@ jobs:
run: ./ci/run_ci.sh install_bazel
- name: Update version in setup.py
run: |
- echo "GITHUB_REF: $GITHUB_REF"
+ echo "GITHUB_REF: $GITHUB_REF"
tag=$(echo $GITHUB_REF | cut -d / -f 3)
echo "tag: $tag"
version=${tag:1}
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index b7558aff..18f13371 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -2,15 +2,15 @@
## Finding good first issues
-See [Good First Issues](https://github.com/apache/incubator-fury/contribute).
+See [Good First Issues](https://github.com/apache/fury/contribute).
## How to create an issue
-Create an issue with [this
form](https://github.com/apache/incubator-fury/issues/new/choose).
+Create an issue with [this
form](https://github.com/apache/fury/issues/new/choose).
## How to title your PR
-Generally we follows the [Conventional
Commits](https://www.conventionalcommits.org/) for pull request titles,
+Generally we follows the [Conventional
Commits](https://www.conventionalcommits.org/) for pull request titles,
since we will squash and merge the PR and use the PR title as the first line
of commit message.
For example, here are good PR titles:
@@ -20,7 +20,7 @@ For example, here are good PR titles:
If the submitted PR affects the performance of Fury, we strongly recommend
using the perf type,
and need to provide benchmark data in the PR description. For how to run the
benchmark,
-please check [Fury Java
Benchmark](https://github.com/apache/incubator-fury/blob/main/java/benchmark/README.md).
+please check [Fury Java
Benchmark](https://github.com/apache/fury/blob/main/java/benchmark/README.md).
For more details, please check [pr-lint.yml](./.github/workflows/pr-lint.yml).
@@ -189,7 +189,7 @@ sudo flamegraph.pl out.folded > out.svg
## Website
-Fury's website consists of static pages hosted at
https://github.com/apache/incubator-fury-site.
+Fury's website consists of static pages hosted at
https://github.com/apache/fury-site.
All updates about docs under [guide](docs/guide) and
[benchmarks](docs/benchmarks) will be synced to the site repo automatically.
diff --git a/README.md b/README.md
index ae35f375..dda38951 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
<img width="65%" alt="" src="docs/images/logo/fury_github_banner.png"><br>
</div>
-[](https://github.com/apache/incubator-fury/actions/workflows/ci.yml)
+[](https://github.com/apache/fury/actions/workflows/ci.yml)
[](https://join.slack.com/t/fury-project/shared_invite/zt-1u8soj4qc-ieYEu7ciHOqA2mo47llS8A)
[](https://twitter.com/ApacheFury)
[](https://search.maven.org/#search|gav|1|g:"org.apache.fury"%20AND%20a:"fury-core")
@@ -12,6 +12,12 @@
https://fury.apache.org
+> [!IMPORTANT]
+> Apache Fury (incubating) is an effort undergoing incubation at the Apache
+> Software Foundation (ASF), sponsored by the Apache Incubator PMC.
+>
+> Please read the [DISCLAIMER](DISCLAIMER) and a full explanation of
["incubating"](https://incubator.apache.org/policy/incubation.html).
+
## Features
- **Multiple languages**:
Java/Python/C++/Golang/JavaScript/Rust/Scala/TypeScript.
- **Zero-copy**: Cross-language out-of-band serialization inspired
@@ -58,7 +64,7 @@ To ensure accurate benchmark statistics, it is advisable to
**warm up** the syst
### Java Serialization
In these charts below, titles containing "compatible" represent schema
compatible mode: type forward/backward compatibility is enabled; while titles
without "compatible" represent schema consistent mode: class schema must be the
same between serialization and deserialization.
-Where `Struct` is a class with [100 primitive
fields](https://github.com/apache/incubator-fury/tree/main/docs/benchmarks#Struct),
`MediaContent` is a class from
[jvm-serializers](https://github.com/eishay/jvm-serializers/blob/master/tpc/src/data/media/MediaContent.java),
and `Sample` is a class from [kryo
benchmark](https://github.com/EsotericSoftware/kryo/blob/master/benchmarks/src/main/java/com/esotericsoftware/kryo/benchmarks/data/Sample.java).
+Where `Struct` is a class with [100 primitive
fields](https://github.com/apache/fury/tree/main/docs/benchmarks#Struct),
`MediaContent` is a class from
[jvm-serializers](https://github.com/eishay/jvm-serializers/blob/master/tpc/src/data/media/MediaContent.java),
and `Sample` is a class from [kryo
benchmark](https://github.com/EsotericSoftware/kryo/blob/master/benchmarks/src/main/java/com/esotericsoftware/kryo/benchmarks/data/Sample.java).
<p align="center">
<img width="24%" alt=""
src="docs/benchmarks/compatible/bench_serialize_compatible_STRUCT_to_directBuffer_tps.png">
@@ -74,7 +80,7 @@ Where `Struct` is a class with [100 primitive
fields](https://github.com/apache/
<img width="24%" alt=""
src="docs/benchmarks/deserialization/bench_deserialize_SAMPLE_from_array_tps.png">
</p>
-See
[benchmarks](https://github.com/apache/incubator-fury/tree/main/docs/benchmarks)
for more benchmarks about type forward/backward compatibility, off-heap
support, zero-copy serialization.
+See [benchmarks](https://github.com/apache/fury/tree/main/docs/benchmarks) for
more benchmarks about type forward/backward compatibility, off-heap support,
zero-copy serialization.
## Installation
### Java
@@ -138,7 +144,7 @@ npm install @furyjs/fury
### Golang
```bash
-go get github.com/apache/incubator-fury/go/fury
+go get github.com/apache/fury/go/fury
```
## Quickstart
@@ -251,7 +257,7 @@ print(fury.deserialize(data))
```go
package main
-import furygo "github.com/apache/incubator-fury/go/fury"
+import furygo "github.com/apache/fury/go/fury"
import "fmt"
func main() {
@@ -352,12 +358,12 @@ print(foo_row.f2[100000], foo_row.f4[100000].f1,
foo_row.f4[200000].f2[5])
### Schema Compatibility
Fury java object graph serialization supports class schema forward/backward
compatibility. The serialization peer and deserialization peer can add/delete
fields independently.
-We plan to add the schema compatibility support of cross-language
serialization after [meta
compression](https://github.com/apache/incubator-fury/issues/203) is finished.
+We plan to add the schema compatibility support of cross-language
serialization after [meta
compression](https://github.com/apache/fury/issues/203) is finished.
### Binary Compatibility
We are still improving our protocols, thus binary compatibility is not
guaranteed between Fury major releases for now.
However, it is guaranteed between minor versions. Please
-`versioning` your data by Fury major version if you will upgrade Fury in the
future, see [how to upgrade
fury](https://github.com/apache/incubator-fury/blob/main/docs/guide/java_object_graph_guide.md#upgrade-fury)
for further details.
+`versioning` your data by Fury major version if you will upgrade Fury in the
future, see [how to upgrade
fury](https://github.com/apache/fury/blob/main/docs/guide/java_object_graph_guide.md#upgrade-fury)
for further details.
Binary compatibility will be guaranteed when Fury 1.0 is released.
diff --git a/ci/format.sh b/ci/format.sh
index 3df6ad6f..4f931dda 100755
--- a/ci/format.sh
+++ b/ci/format.sh
@@ -304,7 +304,7 @@ elif [ "${1-}" == '--java' ]; then
else
# Add the origin remote if it doesn't exist
if ! git remote -v | grep -q origin; then
- git remote add 'origin' 'https://github.com/apache/incubator-fury.git'
+ git remote add 'origin' 'https://github.com/apache/fury.git'
fi
# use unshallow fetch for `git merge-base origin/main HEAD` to work.
diff --git a/docs/guide/DEVELOPMENT.md b/docs/guide/DEVELOPMENT.md
index bfab5417..3949dcb5 100644
--- a/docs/guide/DEVELOPMENT.md
+++ b/docs/guide/DEVELOPMENT.md
@@ -6,7 +6,7 @@ id: development
# How to build Fury
-Please checkout the source tree from https://github.com/apache/incubator-fury.
+Please checkout the source tree from https://github.com/apache/fury.
### Build Fury Java
diff --git a/docs/guide/graalvm_guide.md b/docs/guide/graalvm_guide.md
index 3d9acd9b..3ed919fd 100644
--- a/docs/guide/graalvm_guide.md
+++ b/docs/guide/graalvm_guide.md
@@ -6,26 +6,26 @@ id: graalvm_guide
# GraalVM Native Image
GraalVM `native image` can compile java code into native code ahead to build
faster, smaller, leaner applications.
-The native image doesn't have a JIT compiler to compile bytecode into machine
code, and doesn't support
+The native image doesn't have a JIT compiler to compile bytecode into machine
code, and doesn't support
reflection unless configure reflection file.
-Fury runs on GraalVM native image pretty well. Fury generates all serializer
code for `Fury JIT framework` and `MethodHandle/LambdaMetafactory` at graalvm
build time. Then use those generated code for serialization at runtime without
+Fury runs on GraalVM native image pretty well. Fury generates all serializer
code for `Fury JIT framework` and `MethodHandle/LambdaMetafactory` at graalvm
build time. Then use those generated code for serialization at runtime without
any extra cost, the performance is great.
In order to use Fury on graalvm native image, you must create Fury as an
**static** field of a class, and **register** all classes at
- the enclosing class initialize time. Then configure `native-image.properties`
under
-`resources/META-INF/native-image/$xxx/native-image.propertie` to tell graalvm
to init the class at native image
+ the enclosing class initialize time. Then configure `native-image.properties`
under
+`resources/META-INF/native-image/$xxx/native-image.propertie` to tell graalvm
to init the class at native image
build time. For example, here we configure `org.apache.fury.graalvm.Example`
class be init at build time:
```properties
Args = --initialize-at-build-time=org.apache.fury.graalvm.Example
```
-Another benefit using fury is that you don't have to configure [reflection
json](https://www.graalvm.org/latest/reference-manual/native-image/metadata/#specifying-reflection-metadata-in-json)
and
+Another benefit using fury is that you don't have to configure [reflection
json](https://www.graalvm.org/latest/reference-manual/native-image/metadata/#specifying-reflection-metadata-in-json)
and
[serialization
json](https://www.graalvm.org/latest/reference-manual/native-image/metadata/#serialization),
which is
-very tedious, cumbersome and inconvenient. When using fury, you just need to
invoke
+very tedious, cumbersome and inconvenient. When using fury, you just need to
invoke
`org.apache.fury.Fury.register(Class<?>, boolean)` for every type you want to
serialize.
-Note that Fury `asyncCompilationEnabled` option will be disabled automatically
for graalvm native image since graalvm
+Note that Fury `asyncCompilationEnabled` option will be disabled automatically
for graalvm native image since graalvm
native image doesn't support JIT at the image run time.
## Not thread-safe Fury
@@ -85,7 +85,7 @@ public class ThreadSafeExample {
List<String> f3,
Map<String, Long> f4) {
}
-
+
static ThreadSafeFury fury;
static {
@@ -115,9 +115,9 @@ Args =
--initialize-at-build-time=org.apache.fury.graalvm.ThreadSafeExample
```
## Framework Integration
-For framework developers, if you want to integrate fury for serialization, you
can provided a configuration file to let
-the users to list all the classes they want to serialize, then you can load
those classes and invoke
-`org.apache.fury.Fury.register(Class<?>, boolean)` to register those classes
in your Fury integration class, and configure that
+For framework developers, if you want to integrate fury for serialization, you
can provided a configuration file to let
+the users to list all the classes they want to serialize, then you can load
those classes and invoke
+`org.apache.fury.Fury.register(Class<?>, boolean)` to register those classes
in your Fury integration class, and configure that
class be initialized at graalvm native image build time.
## Benchmark
@@ -131,7 +131,7 @@ When Fury compression is enabled:
- Struct: Fury is `24x speed, 31% size` compared to JDK.
- Pojo: Fury is `12x speed, 48% size` compared to JDK.
-See
[[Benchmark.java](https://github.com/apache/incubator-fury/blob/main/integration_tests/graalvm_tests/src/main/java/org/apache/fury/graalvm/Benchmark.java)]
for benchmark code.
+See
[[Benchmark.java](https://github.com/apache/fury/blob/main/integration_tests/graalvm_tests/src/main/java/org/apache/fury/graalvm/Benchmark.java)]
for benchmark code.
### Struct Benchmark
#### Class Fields
@@ -211,4 +211,4 @@ Fury serialization took mills: 1289
JDK serialization took mills: 15069
Compare speed: Fury is 12.11x speed of JDK
Compare size: Fury is 0.48x size of JDK
-```
\ No newline at end of file
+```
diff --git a/docs/guide/scala_guide.md b/docs/guide/scala_guide.md
index f83a41cd..891f1e04 100644
--- a/docs/guide/scala_guide.md
+++ b/docs/guide/scala_guide.md
@@ -36,7 +36,7 @@ fury.register(Class.forName("scala.Enumeration.Val"))
If you want to avoid such registration, you can disable class registration by
`FuryBuilder#requireClassRegistration(false)`.
Note that this option allow to deserialize objects unknown types, more
flexible but may be insecure if the classes contains malicious code.
-And circular references are common in scala, `Reference tracking` should be
enabled by `FuryBuilder#withRefTracking(true)`. If you don't enable reference
tracking,
[StackOverflowError](https://github.com/apache/incubator-fury/issues/1032) may
happen for some scala versions when serializing scala Enumeration.
+And circular references are common in scala, `Reference tracking` should be
enabled by `FuryBuilder#withRefTracking(true)`. If you don't enable reference
tracking, [StackOverflowError](https://github.com/apache/fury/issues/1032) may
happen for some scala versions when serializing scala Enumeration.
Note that fury instance should be shared between multiple serialization, the
creation of fury instance is not cheap.
@@ -115,6 +115,6 @@ Scala collections and generics doesn't follow java
collection framework, and is
The execution for scala collections will invoke Java serialization API
`writeObject/readObject/writeReplace/readResolve/readObjectNoData/Externalizable`
with fury `ObjectStream` implementation. Although
`org.apache.fury.serializer.ObjectStreamSerializer` is much faster than JDK
`ObjectOutputStream/ObjectInputStream`, but it still doesn't know how use scala
collection generics.
-In future we plan to provide more optimization for scala types, see
https://github.com/apache/incubator-fury/issues/682, stay tuned!
+In future we plan to provide more optimization for scala types, see
https://github.com/apache/fury/issues/682, stay tuned!
-Scala collections serialization is finished in
https://github.com/apache/incubator-fury/pull/1073, if you want better
performance, please use fury snapshot version.
+Scala collections serialization is finished in
https://github.com/apache/fury/pull/1073, if you want better performance,
please use fury snapshot version.
diff --git a/docs/guide/xlang_serialization_guide.md
b/docs/guide/xlang_serialization_guide.md
index 02738281..a68348e3 100644
--- a/docs/guide/xlang_serialization_guide.md
+++ b/docs/guide/xlang_serialization_guide.md
@@ -60,7 +60,7 @@ print(new_map)
```go
package main
-import furygo "github.com/apache/incubator-fury/fury/go/fury"
+import furygo "github.com/apache/fury/fury/go/fury"
import "fmt"
func main() {
@@ -251,7 +251,7 @@ if __name__ == "__main__":
```go
package main
-import furygo "github.com/apache/incubator-fury/fury/go/fury"
+import furygo "github.com/apache/fury/fury/go/fury"
import "fmt"
func main() {
@@ -456,7 +456,7 @@ print(fury.deserialize(data))
```go
package main
-import furygo "github.com/apache/incubator-fury/fury/go/fury"
+import furygo "github.com/apache/fury/fury/go/fury"
import "fmt"
func main() {
@@ -565,7 +565,7 @@ print(fury.deserialize(data, buffers=buffers))
```go
package main
-import furygo "github.com/apache/incubator-fury/fury/go/fury"
+import furygo "github.com/apache/fury/fury/go/fury"
import "fmt"
func main() {
diff --git a/docs/specification/java_serialization_spec.md
b/docs/specification/java_serialization_spec.md
index 813f5a67..592413a4 100644
--- a/docs/specification/java_serialization_spec.md
+++ b/docs/specification/java_serialization_spec.md
@@ -426,7 +426,7 @@ Format:
#### Map Key-Value data
Map iteration is too expensive, Fury won't compute the header like for
collection before since it introduce
-[considerable overhead](https://github.com/apache/incubator-fury/issues/925).
+[considerable overhead](https://github.com/apache/fury/issues/925).
Users can use `MapFieldInfo` annotation to provide header in advance.
Otherwise Fury will use first key-value pair to
predict header optimistically, and update the chunk header if the prediction
failed at some pair.
diff --git a/docs/specification/xlang_serialization_spec.md
b/docs/specification/xlang_serialization_spec.md
index 806ee918..5882d009 100644
--- a/docs/specification/xlang_serialization_spec.md
+++ b/docs/specification/xlang_serialization_spec.md
@@ -519,7 +519,7 @@ else:
fury.write_value(buffer, elem)
```
-[`CollectionSerializer#writeElements`](https://github.com/apache/incubator-fury/blob/20a1a78b17a75a123a6f5b7094c06ff77defc0fe/java/fury-core/src/main/java/org/apache/fury/serializer/collection/AbstractCollectionSerializer.java#L302)
+[`CollectionSerializer#writeElements`](https://github.com/apache/fury/blob/20a1a78b17a75a123a6f5b7094c06ff77defc0fe/java/fury-core/src/main/java/org/apache/fury/serializer/collection/AbstractCollectionSerializer.java#L302)
can be taken as an example.
### array
@@ -550,7 +550,7 @@ Format:
#### map key-value chunk data
Map iteration is too expensive, Fury won't compute the header like for list
since it introduce
-[considerable overhead](https://github.com/apache/incubator-fury/issues/925).
+[considerable overhead](https://github.com/apache/fury/issues/925).
Users can use `MapFieldInfo` annotation to provide the header in advance.
Otherwise Fury will use first key-value pair
to predict header optimistically, and update the chunk header if the
prediction failed at some pair.
diff --git a/go/fury/fury_xlang_test.go b/go/fury/fury_xlang_test.go
index d97719bd..b327ec34 100644
--- a/go/fury/fury_xlang_test.go
+++ b/go/fury/fury_xlang_test.go
@@ -19,7 +19,7 @@ package fury_test
import (
"fmt"
- "github.com/apache/incubator-fury/go/fury"
+ "github.com/apache/fury/go/fury"
"github.com/stretchr/testify/require"
"io/ioutil"
"os"
diff --git a/go/fury/go.mod b/go/fury/go.mod
index 04560557..7cb2f614 100644
--- a/go/fury/go.mod
+++ b/go/fury/go.mod
@@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
-module github.com/apache/incubator-fury/go/fury
+module github.com/apache/fury/go/fury
go 1.13
diff --git
a/java/benchmark/src/test/java/org/apache/fury/benchmark/state/JsonTest.java
b/java/benchmark/src/test/java/org/apache/fury/benchmark/state/JsonTest.java
index f96ea6a1..c640b021 100644
--- a/java/benchmark/src/test/java/org/apache/fury/benchmark/state/JsonTest.java
+++ b/java/benchmark/src/test/java/org/apache/fury/benchmark/state/JsonTest.java
@@ -37,7 +37,7 @@ public class JsonTest {
@Test
public void testSerializeJson() {
- // For issue: https://github.com/apache/incubator-fury/issues/1604
+ // For issue: https://github.com/apache/fury/issues/1604
JSONObject jsonObject = new JSONObject();
jsonObject.put("k1", "v1");
jsonObject.put("k2", "v2");
diff --git
a/java/fury-core/src/test/java/org/apache/fury/reflect/TypeRefTest.java
b/java/fury-core/src/test/java/org/apache/fury/reflect/TypeRefTest.java
index 6e791342..d11b1fd1 100644
--- a/java/fury-core/src/test/java/org/apache/fury/reflect/TypeRefTest.java
+++ b/java/fury-core/src/test/java/org/apache/fury/reflect/TypeRefTest.java
@@ -38,7 +38,7 @@ public class TypeRefTest extends FuryTestBase {
@Test
public void testGetSubtype() {
- // For issue: https://github.com/apache/incubator-fury/issues/1604
+ // For issue: https://github.com/apache/fury/issues/1604
TypeRef<? extends Map<String, Object>> typeRef =
TypeUtils.mapOf(MapObject.class, String.class, Object.class);
assertEquals(typeRef, TypeRef.of(MapObject.class));
@@ -80,7 +80,7 @@ public class TypeRefTest extends FuryTestBase {
@Test(dataProvider = "enableCodegen")
public void testWildcardTypeSerialization(boolean enableCodegen) {
- // see issue https://github.com/apache/incubator-fury/issues/1633
+ // see issue https://github.com/apache/fury/issues/1633
Fury fury = builder().withCodegen(enableCodegen).build();
serDeCheck(fury, new MyClass());
}
diff --git
a/java/fury-core/src/test/java/org/apache/fury/serializer/CodegenSerializerTest.java
b/java/fury-core/src/test/java/org/apache/fury/serializer/CodegenSerializerTest.java
index 89559526..594a9855 100644
---
a/java/fury-core/src/test/java/org/apache/fury/serializer/CodegenSerializerTest.java
+++
b/java/fury-core/src/test/java/org/apache/fury/serializer/CodegenSerializerTest.java
@@ -309,6 +309,6 @@ public class CodegenSerializerTest extends FuryTestBase {
// `enum ColorEnum { case Red, Green, Blue }`
// `case class Colors(set: Set[ColorEnum])`
// ColorEnum.Green.getClass is a static local class.
- // see https://github.com/apache/incubator-fury/issues/1033
+ // see https://github.com/apache/fury/issues/1033
}
}
diff --git
a/java/fury-core/src/test/java/org/apache/fury/serializer/collection/MapSerializersTest.java
b/java/fury-core/src/test/java/org/apache/fury/serializer/collection/MapSerializersTest.java
index 80e0a044..6aa5f2cf 100644
---
a/java/fury-core/src/test/java/org/apache/fury/serializer/collection/MapSerializersTest.java
+++
b/java/fury-core/src/test/java/org/apache/fury/serializer/collection/MapSerializersTest.java
@@ -345,7 +345,7 @@ public class MapSerializersTest extends FuryTestBase {
@Test
public void testStringKeyMapSerializer() {
- // see https://github.com/apache/incubator-fury/issues/1170
+ // see https://github.com/apache/fury/issues/1170
Fury fury = Fury.builder().withRefTracking(true).build();
fury.registerSerializer(StringKeyMap.class,
MapSerializers.StringKeyMapSerializer.class);
{
diff --git a/java/pom.xml b/java/pom.xml
index 9fec9525..aa44ec3d 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -49,7 +49,7 @@
or stability of the code, it does indicate that the project has yet to be
fully endorsed by the ASF.
</description>
- <url>https://github.com/apache/incubator-fury</url>
+ <url>https://github.com/apache/fury</url>
<licenses>
<license>
@@ -59,9 +59,9 @@
</licenses>
<scm>
- <url>https://github.com/apache/incubator-fury</url>
- <connection>[email protected]:apache/incubator-fury.git</connection>
-
<developerConnection>scm:git:ssh://github.com:apache/incubator-fury.git</developerConnection>
+ <url>https://github.com/apache/fury</url>
+ <connection>[email protected]:apache/fury.git</connection>
+
<developerConnection>scm:git:ssh://github.com:apache/fury.git</developerConnection>
</scm>
<developers>
<developer>
diff --git a/javascript/package.json b/javascript/package.json
index 653adfdd..8b257e6a 100644
--- a/javascript/package.json
+++ b/javascript/package.json
@@ -6,7 +6,7 @@
"lint": "eslint .",
"lint-fix": "eslint . --fix"
},
- "repository": "[email protected]:apache/incubator-fury.git",
+ "repository": "[email protected]:apache/fury.git",
"workspaces": [
"packages/hps",
"packages/fury"
diff --git a/javascript/packages/fury/package.json
b/javascript/packages/fury/package.json
index 2aff4210..df537df2 100644
--- a/javascript/packages/fury/package.json
+++ b/javascript/packages/fury/package.json
@@ -23,7 +23,7 @@
"node-gyp": "^9.4.0",
"tslib": "^2.4.0"
},
- "repository": "[email protected]:apache/incubator-fury.git",
+ "repository": "[email protected]:apache/fury.git",
"workspaces": [
"packages/hps"
]
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 592208b6..e4e0bc26 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -33,7 +33,7 @@ version = "0.6.0"
rust-version = "1.70"
license = "Apache-2.0"
readme = "README.md"
-repository = "https://github.com/apache/incubator-fury"
+repository = "https://github.com/apache/fury"
edition = "2021"
keywords = ["fury", "data", "serialization"]
categories = ["encoding"]
diff --git a/scala/src/test/scala/org/apache/fury/serializer/ScalaTest.scala
b/scala/src/test/scala/org/apache/fury/serializer/ScalaTest.scala
index 52061243..b91f3929 100644
--- a/scala/src/test/scala/org/apache/fury/serializer/ScalaTest.scala
+++ b/scala/src/test/scala/org/apache/fury/serializer/ScalaTest.scala
@@ -42,7 +42,7 @@ class ScalaTest extends AnyWordSpec with Matchers {
}
}
"serialize/deserialize package object in app" in {
- // If we move code in main here, we can't reproduce
https://github.com/apache/incubator-fury/issues/1165.
+ // If we move code in main here, we can't reproduce
https://github.com/apache/fury/issues/1165.
PkgObjectMain.main(Array())
PkgObjectMain2.main(Array())
}
@@ -54,7 +54,7 @@ package object PkgObject {
case class IdAnyVal(value: Int) extends AnyVal
}
-// Test for https://github.com/apache/incubator-fury/issues/1165
+// Test for https://github.com/apache/fury/issues/1165
object PkgObjectMain extends App {
val fury = Fury
@@ -74,7 +74,7 @@ object PkgObjectMain extends App {
}
}
-// Test for https://github.com/apache/incubator-fury/issues/1175
+// Test for https://github.com/apache/fury/issues/1175
object PkgObjectMain2 extends App {
val fury = Fury
.builder()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]