This is an automated email from the ASF dual-hosted git repository.
jiafengzheng pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-doris-spark-connector.git
The following commit(s) were added to refs/heads/master by this push:
new 4c621dc git commit -m '[fix] Deserialize failed caused by the new
field:keysType' (#17)
4c621dc is described below
commit 4c621dcc7d8e249f83cd989d9ca0f323d22fea06
Author: Kikyou1997 <[email protected]>
AuthorDate: Mon Apr 11 10:39:25 2022 +0800
git commit -m '[fix] Deserialize failed caused by the new field:keysType'
(#17)
Deserialize failed caused by the new field:keysType
---
.../src/main/java/org/apache/doris/spark/rest/models/Schema.java | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git
a/spark-doris-connector/src/main/java/org/apache/doris/spark/rest/models/Schema.java
b/spark-doris-connector/src/main/java/org/apache/doris/spark/rest/models/Schema.java
index 586a8ac..0a437bf 100644
---
a/spark-doris-connector/src/main/java/org/apache/doris/spark/rest/models/Schema.java
+++
b/spark-doris-connector/src/main/java/org/apache/doris/spark/rest/models/Schema.java
@@ -24,6 +24,7 @@ import java.util.Objects;
public class Schema {
private int status = 0;
private List<Field> properties;
+ private String keysType;
public Schema() {
properties = new ArrayList<>();
@@ -49,6 +50,14 @@ public class Schema {
this.properties = properties;
}
+ public String getKeysType() {
+ return keysType;
+ }
+
+ public void setKeysType(String keysType) {
+ this.keysType = keysType;
+ }
+
public void put(String name, String type, String comment, int scale, int
precision, String aggregation_type) {
properties.add(new Field(name, type, comment, scale, precision,
aggregation_type));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]