You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xtable.apache.org by "vinishjail97 (via GitHub)" <gi...@apache.org> on 2024/07/09 12:46:13 UTC
[PR] Test avro version compatability [incubator-xtable]
vinishjail97 opened a new pull request, #484:
URL: https://github.com/apache/incubator-xtable/pull/484
## *Important Read*
- *Please ensure the GitHub issue is mentioned at the beginning of the PR*
## What is the purpose of the pull request
*(For example: This pull request implements the sync for delta format.)*
Avro schema not being parsed with recursive update.
```
{
"type" : "record",
"name" : "HoodieCleanMetadata",
"namespace" : "org.apache.hudi.avro.model",
"fields" : [ {
"name" : "startCleanTime",
"type" : {
"type" : "string",
"avro.java.string" : "String"
}
}, {
"name" : "timeTakenInMillis",
"type" : "long"
}, {
"name" : "totalFilesDeleted",
"type" : "int"
}, {
"name" : "earliestCommitToRetain",
"type" : {
"type" : "string",
"avro.java.string" : "String"
}
}, {
"name" : "lastCompletedCommitTimestamp",
"type" : {
"type" : "string",
"avro.java.string" : "String"
},
"default" : ""
}, {
"name" : "partitionMetadata",
"type" : {
"type" : "map",
"values" : {
"type" : "record",
"name" : "HoodieCleanPartitionMetadata",
"fields" : [ {
"name" : "partitionPath",
"type" : {
"type" : "string",
"avro.java.string" : "String"
}
}, {
"name" : "policy",
"type" : {
"type" : "string",
"avro.java.string" : "String"
}
}, {
"name" : "deletePathPatterns",
"type" : {
"type" : "array",
"items" : {
"type" : "string",
"avro.java.string" : "String"
}
}
}, {
"name" : "successDeleteFiles",
"type" : {
"type" : "array",
"items" : {
"type" : "string",
"avro.java.string" : "String"
}
}
}, {
"name" : "failedDeleteFiles",
"type" : {
"type" : "array",
"items" : {
"type" : "string",
"avro.java.string" : "String"
}
}
}, {
"name" : "isPartitionDeleted",
"type" : [ "null", "boolean" ],
"default" : null
} ]
},
"avro.java.string" : "String"
}
}, {
"name" : "version",
"type" : [ "int", "null" ],
"default" : 1
}, {
"name" : "bootstrapPartitionMetadata",
"type" : [ "null", {
"type" : "map",
"values" : "HoodieCleanPartitionMetadata",
"avro.java.string" : "String",
"default" : null
} ],
"default" : null
} ]
}
```
*(for example:)*
- *Fixed JSON parsing error when persisting state*
- *Added unit tests for schema evolution*
## Verify this pull request
*(Please pick either of the following options)*
This pull request is a trivial rework / code cleanup without any test coverage.
*(or)*
This pull request is already covered by existing tests, such as *(please describe tests)*.
(or)
This change added tests and can be verified as follows:
*(example:)*
- *Added integration tests for end-to-end.*
- *Added TestConversionController to verify the change.*
- *Manually verified the change by running a job locally.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@xtable.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Test avro version compatability [incubator-xtable]
Posted by "vinishjail97 (via GitHub)" <gi...@apache.org>.
vinishjail97 closed pull request #484: Test avro version compatability
URL: https://github.com/apache/incubator-xtable/pull/484
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@xtable.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org