Skip to content

Commit

Permalink
ORC-1695: Upgrade gson to 2.10.1
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
This PR aims to upgrade `Gson` to `2.10.1`.

### Why are the changes needed?
Jan 7, 2023

https://github.com/google/gson/releases/tag/gson-parent-2.10.1

Oct 25, 2022

https://github.com/google/gson/releases/tag/gson-parent-2.10

Aug 1, 2022

https://github.com/google/gson/releases/tag/gson-parent-2.9.1

### How was this patch tested?
GA

### Was this patch authored or co-authored using generative AI tooling?
No

Closes #1897 from cxzl25/ORC-1695.

Authored-by: sychen <sychen@ctrip.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
  • Loading branch information
cxzl25 authored and dongjoon-hyun committed Apr 19, 2024
1 parent bd2af54 commit dc89f18
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion java/pom.xml
Expand Up @@ -135,7 +135,7 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.9.0</version>
<version>2.10.1</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
Expand Down
106 changes: 53 additions & 53 deletions java/tools/src/test/resources/orc-file-dump.json
Expand Up @@ -2,7 +2,7 @@
"fileName": "TestFileDump.testDump.orc",
"fileVersion": "0.12",
"writerVersion": "ORC_14",
"softwareVersion": "ORC Java 1.9.0-SNAPSHOT",
"softwareVersion": "ORC Java 2.1.0-SNAPSHOT",
"numberOfRows": 21000,
"compression": "ZLIB",
"compressionBufferSize": 4096,
Expand Down Expand Up @@ -461,48 +461,48 @@
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 1,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 2,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 3,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 4,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
}
],
"stripeLevelBloomFilter": {
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
}
}
]
Expand Down Expand Up @@ -704,48 +704,48 @@
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 1,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 2,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 3,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 4,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
}
],
"stripeLevelBloomFilter": {
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
}
}
]
Expand Down Expand Up @@ -947,48 +947,48 @@
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 1,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 2,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 3,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 4,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
}
],
"stripeLevelBloomFilter": {
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
}
}
]
Expand Down Expand Up @@ -1190,48 +1190,48 @@
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 1,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 2,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 3,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
},
{
"entryId": 4,
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
}
],
"stripeLevelBloomFilter": {
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
}
}
]
Expand Down Expand Up @@ -1361,16 +1361,16 @@
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
}
],
"stripeLevelBloomFilter": {
"numHashFunctions": 7,
"bitCount": 9600,
"popCount": 238,
"loadFactor": 0.024791667237877846,
"expectedFpp": 5.756256582500896E-12
"loadFactor": 0.024791667,
"expectedFpp": 5.7562566E-12
}
}
]
Expand Down

0 comments on commit dc89f18

Please sign in to comment.