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/fury.git
The following commit(s) were added to refs/heads/main by this push:
new 8bfbac2d chore(doc): fix compiler error (#1698)
8bfbac2d is described below
commit 8bfbac2d1bb58c0b4c9225f7fe04427701a4b81d
Author: wangjie <[email protected]>
AuthorDate: Mon Jun 24 22:17:49 2024 +0800
chore(doc): fix compiler error (#1698)
## What does this PR do?
fix doc error.`BinaryArray#getLong` not exist
## Related issues
## Does this PR introduce any user-facing change?
- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
---
README.md | 2 +-
docs/guide/row_format_guide.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 30dcf1de..de3e8bb2 100644
--- a/README.md
+++ b/README.md
@@ -325,7 +325,7 @@ BinaryArray binaryArray4 = binaryRow.getArray(3);
BinaryRow barStruct = binaryArray4.getStruct(10);
// zero-copy read 6th of f2 of 11th element of `readList<Bar> f4`
-barStruct.getArray(1).getLong(5);
+barStruct.getArray(1).getInt64(5);
RowEncoder<Bar> barEncoder = Encoders.bean(Bar.class);
// deserialize part of data.
Bar newBar = barEncoder.fromRow(barStruct);
diff --git a/docs/guide/row_format_guide.md b/docs/guide/row_format_guide.md
index 3c60927a..076a2c06 100644
--- a/docs/guide/row_format_guide.md
+++ b/docs/guide/row_format_guide.md
@@ -44,7 +44,7 @@ BinaryArray binaryArray4 = binaryRow.getArray(3);
BinaryRow barStruct = binaryArray4.getStruct(10);
// zero-copy read 6th of f2 of 11th element of `readList<Bar> f4`
-barStruct.getArray(1).getLong(5);
+barStruct.getArray(1).getInt64(5);
RowEncoder<Bar> barEncoder = Encoders.bean(Bar.class);
// deserialize part of data.
Bar newBar = barEncoder.fromRow(barStruct);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]