You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by fo...@apache.org on 2018/12/13 08:56:55 UTC

[avro] branch AVRO-2238 updated (1f6336a -> 4b6fb88)

This is an automated email from the ASF dual-hosted git repository.

fokko pushed a change to branch AVRO-2238
in repository https://gitbox.apache.org/repos/asf/avro.git.


 discard 1f6336a  Fix PHP tests
 discard 256a3d3  Fix the csharp tests
 discard b4597af  AVRO-2238 Update Dockerfile base image from java to openjdk
     add b597c3a  AVRO-1167, AVRO-766: Fix c AVRO_LINK memory leaks (#217)
     add 7fbedbb  [AVRO-2026] Add valgrind to c tests This closes #218
     add 5e85226  AVRO-2063. C: VERSION, SOVERSION not set correctly for shared library
     add 4b1ab22  AVRO-2063. C: VERSION, SOVERSION not set correctly for shared library (#239)
     add e37a52d  change the error module to be thread-safe on Windows as well as on UNIX (depended on defining the macro THREADSAFE). add appropriate test which launch several threads and validate the errors they set/add are thread-safe.
     add 269d0ff  [AVRO-2058] Fix issues with Utf8 keys maps being treated as non-strings This closes #237
     add 4d07366  avro-c: Fix build with clang compiler
     add c843699  AVRO-1844: set correct header searching path for zlib, snappy & jansson.
     add 6971ac7  add ivy profile to generate ivy.xml desriptors for java artifacts
     add 67dbda9  AVRO-2004: moved CSS and JS files to a directory where they will be included in the final jar
     add 5432cd0  AVRO-2004: changed Protovis javascript functions to be compatible with Chrome. http://stackoverflow.com/questions/6831655/protovis-what-are-these-functions-with-no-curly-braces
     add e65411f  Squashed commit of the following: This closes #243
     add 595643c  AVRO-2184: Unable to decode JSON data file if a property is renamed in reader schema (#316)
     add d55f5e1  AVRO-2034 Nested schema types with unexpected fields causes json parse failure (#224)
     add 254ee8f  [AVRO-2034] Remove conditions that will always be true/false
     add 4759048  Fix rat tests
     add beef866  AVRO-1777: Select best matching record when writing a union in python (#95)
     add 7ed38d7  Improved conversions handling + pluggable conversions support [AVRO-1891, AVRO-2065] (#329)
     add 726c7bf  Update package.json version
     add 4b498e5  AVRO-1749 Java: Introduce induce Maven plugin goal (#70)
     add 67014e5  Remove version numbers from test poms, fix checkstyle
     add c011d76  Fix undefined variable field_desc_list in RecordSchema._MakeFieldMap (#355)
     add 4f8ea93  AVRO-2238 Update Dockerfile base image from java to openjdk
     add 81f913e  Fix the csharp tests
     add 4b6fb88  Fix PHP tests

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (1f6336a)
            \
             N -- N -- N   refs/heads/AVRO-2238 (4b6fb88)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 lang/c/CMakeLists.txt                              |  16 +-
 lang/c/build.sh                                    |   1 -
 lang/c/src/CMakeLists.txt                          |   5 +-
 lang/c/src/avro/refcount.h                         |   3 +-
 lang/c/src/errors.c                                |  48 +++--
 lang/c/src/schema.c                                |  91 +++++++--
 lang/c/tests/CMakeLists.txt                        |  64 ++++---
 lang/c/tests/test_avro_1034.c                      |  13 +-
 lang/c/tests/test_avro_1087.c                      |   8 +-
 .../c/tests/{test_avro_1165.c => test_avro_1167.c} |  22 ++-
 lang/c/tests/test_avro_1379.c                      |   6 +
 lang/c/tests/test_avro_1691.c                      |   6 +
 lang/c/tests/{test_avro_1165.c => test_avro_766.c} |  50 +++--
 lang/c/tests/test_avro_errors_are_thread_safe.c    | 203 +++++++++++++++++++++
 .../org/apache/avro/data/RecordBuilderBase.java    |  32 +---
 .../java/org/apache/avro/generic/GenericData.java  |   4 +
 .../main/java/org/apache/avro/io/JsonDecoder.java  |  22 ++-
 .../avro/io/parsing/JsonGrammarGenerator.java      |   2 +-
 .../java/org/apache/avro/io/parsing/Symbol.java    |   8 +-
 .../java/org/apache/avro/reflect/ReflectData.java  |   2 +-
 .../org/apache/avro/specific/SpecificData.java     |  57 +++++-
 .../apache/avro/specific/SpecificDatumReader.java  |   6 +-
 .../apache/avro/specific/SpecificDatumWriter.java  |   4 +-
 .../apache/avro/specific/SpecificRecordBase.java   |  13 +-
 .../avro/specific/SpecificRecordBuilderBase.java   |   6 +-
 .../java/org/apache/avro/TestNestedRecords.java    | 127 +++++++++++++
 .../TestReadingWritingDataInEvolvedSchemas.java    |  59 +++++-
 .../java/org/apache/avro/reflect/TestReflect.java  |  11 ++
 .../specific/TestRecordWithJsr310LogicalTypes.java |  20 +-
 .../avro/compiler/specific/SpecificCompiler.java   |  81 +++++++-
 .../specific/templates/java/classic/record.vm      |  34 ++--
 .../compiler/specific/TestSpecificCompiler.java    | 132 ++++++++++++--
 .../codegen-test}/pom.xml                          |  87 +++------
 .../codegentest/AbstractSpecificRecordTest.java    |  73 ++++++++
 .../avro/codegentest/TestCustomConversion.java     |  45 +++++
 .../codegentest/TestLogicalTypesWithDefaults.java  |  58 ++++++
 .../avro/codegentest/TestNestedLogicalTypes.java   |  67 +++++++
 .../codegentest/TestNullableLogicalTypes.java}     |  46 ++---
 .../src/test/resources/avro/custom_conversion.avsc |  12 ++
 .../avro/logical_types_with_default_values.avsc    |  12 ++
 .../resources/avro/nested_logical_types_array.avsc |  26 +++
 .../resources/avro/nested_logical_types_map.avsc   |  26 +++
 .../avro/nested_logical_types_record.avsc          |  23 +++
 .../resources/avro/nested_logical_types_union.avsc |  23 +++
 .../resources/avro/nullable_logical_types.avsc     |  11 ++
 .../avro/nullable_logical_types_array.avsc         |  16 ++
 lang/java/integration-test/pom.xml                 |  99 ++++++++++
 .../test-custom-conversions}/pom.xml               |  28 ++-
 .../org.apache.avro.codegentest/CustomDecimal.java |  65 +++++++
 .../CustomDecimalConversion.java                   |  52 ++++++
 .../org/apache/avro/ipc/stats/static/avro.css      |   0
 .../org/apache/avro/ipc/stats/static/avro.js       |  24 +--
 .../org/apache/avro/ipc/stats/static/g.bar.js      |   0
 .../avro/ipc/stats/static/jquery-1.4.2.min.js      |   0
 .../apache/avro/ipc/stats/static/jquery.tipsy.js   |   0
 .../apache/avro/ipc/stats/static/protovis-r3.2.js  |   0
 .../org/apache/avro/ipc/stats/static/tipsy.css     |   0
 .../org/apache/avro/ipc/stats/static/tipsy.js      |   0
 .../apache/avro/message/TestCustomSchemaStore.java |   2 +-
 .../avro/specific/TestSpecificRecordBuilder.java   |  14 +-
 lang/java/mapred/pom.xml                           |  12 ++
 .../org/apache/avro/mojo/AbstractAvroMojo.java     |  32 ++++
 .../java/org/apache/avro/mojo/IDLProtocolMojo.java |   6 +-
 .../main/java/org/apache/avro/mojo/InduceMojo.java | 137 ++++++++++++++
 .../java/org/apache/avro/mojo/ProtocolMojo.java    |  14 ++
 .../main/java/org/apache/avro/mojo/SchemaMojo.java |  13 ++
 .../java/org/apache/avro/entities/Person.java}     |   7 +-
 .../java/org/apache/avro/mojo/TestInduceMojo.java  |  85 +++++++++
 .../java/org/apache/avro/protocols/Remote.java}    |   7 +-
 .../unit/protocol/{pom-joda.xml => induce-pom.xml} |  22 +--
 .../pom-joda.xml => schema/induce-pom.xml}         |  22 +--
 lang/java/pom.xml                                  |   1 +
 .../avro/examples/baseball/Player.java             |   7 +-
 .../tools/src/test/compiler/output/Player.java     |   7 +-
 lang/js/package.json                               |   2 +-
 lang/py/src/avro/io.py                             |  43 ++++-
 lang/py/test/test_io.py                            |  11 +-
 lang/py3/avro/schema.py                            |   2 +-
 lang/py3/avro/tests/test_schema.py                 |  10 +
 pom.xml                                            |  50 ++++-
 share/docker/Dockerfile                            |   3 +-
 81 files changed, 2052 insertions(+), 406 deletions(-)
 copy lang/c/tests/{test_avro_1165.c => test_avro_1167.c} (82%)
 copy lang/c/tests/{test_avro_1165.c => test_avro_766.c} (53%)
 mode change 100644 => 100755
 create mode 100644 lang/c/tests/test_avro_errors_are_thread_safe.c
 create mode 100644 lang/java/avro/src/test/java/org/apache/avro/TestNestedRecords.java
 copy lang/java/{grpc => integration-test/codegen-test}/pom.xml (53%)
 create mode 100644 lang/java/integration-test/codegen-test/src/test/java/org/apache/avro/codegentest/AbstractSpecificRecordTest.java
 create mode 100644 lang/java/integration-test/codegen-test/src/test/java/org/apache/avro/codegentest/TestCustomConversion.java
 create mode 100644 lang/java/integration-test/codegen-test/src/test/java/org/apache/avro/codegentest/TestLogicalTypesWithDefaults.java
 create mode 100644 lang/java/integration-test/codegen-test/src/test/java/org/apache/avro/codegentest/TestNestedLogicalTypes.java
 copy lang/{csharp/src/apache/main/File/DataBlock.cs => java/integration-test/codegen-test/src/test/java/org/apache/avro/codegentest/TestNullableLogicalTypes.java} (51%)
 create mode 100644 lang/java/integration-test/codegen-test/src/test/resources/avro/custom_conversion.avsc
 create mode 100644 lang/java/integration-test/codegen-test/src/test/resources/avro/logical_types_with_default_values.avsc
 create mode 100644 lang/java/integration-test/codegen-test/src/test/resources/avro/nested_logical_types_array.avsc
 create mode 100644 lang/java/integration-test/codegen-test/src/test/resources/avro/nested_logical_types_map.avsc
 create mode 100644 lang/java/integration-test/codegen-test/src/test/resources/avro/nested_logical_types_record.avsc
 create mode 100644 lang/java/integration-test/codegen-test/src/test/resources/avro/nested_logical_types_union.avsc
 create mode 100644 lang/java/integration-test/codegen-test/src/test/resources/avro/nullable_logical_types.avsc
 create mode 100644 lang/java/integration-test/codegen-test/src/test/resources/avro/nullable_logical_types_array.avsc
 create mode 100644 lang/java/integration-test/pom.xml
 copy lang/java/{trevni/core => integration-test/test-custom-conversions}/pom.xml (72%)
 create mode 100644 lang/java/integration-test/test-custom-conversions/src/main/java/org.apache.avro.codegentest/CustomDecimal.java
 create mode 100644 lang/java/integration-test/test-custom-conversions/src/main/java/org.apache.avro.codegentest/CustomDecimalConversion.java
 rename lang/java/ipc/src/main/{java => velocity}/org/apache/avro/ipc/stats/static/avro.css (100%)
 rename lang/java/ipc/src/main/{java => velocity}/org/apache/avro/ipc/stats/static/avro.js (81%)
 rename lang/java/ipc/src/main/{java => velocity}/org/apache/avro/ipc/stats/static/g.bar.js (100%)
 rename lang/java/ipc/src/main/{java => velocity}/org/apache/avro/ipc/stats/static/jquery-1.4.2.min.js (100%)
 rename lang/java/ipc/src/main/{java => velocity}/org/apache/avro/ipc/stats/static/jquery.tipsy.js (100%)
 rename lang/java/ipc/src/main/{java => velocity}/org/apache/avro/ipc/stats/static/protovis-r3.2.js (100%)
 rename lang/java/ipc/src/main/{java => velocity}/org/apache/avro/ipc/stats/static/tipsy.css (100%)
 rename lang/java/ipc/src/main/{java => velocity}/org/apache/avro/ipc/stats/static/tipsy.js (100%)
 create mode 100644 lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/InduceMojo.java
 copy lang/java/{compiler/src/test/idl/input/reservedwords.avdl => maven-plugin/src/test/java/org/apache/avro/entities/Person.java} (91%)
 create mode 100644 lang/java/maven-plugin/src/test/java/org/apache/avro/mojo/TestInduceMojo.java
 copy lang/java/{compiler/src/test/idl/input/reservedwords.avdl => maven-plugin/src/test/java/org/apache/avro/protocols/Remote.java} (90%)
 copy lang/java/maven-plugin/src/test/resources/unit/protocol/{pom-joda.xml => induce-pom.xml} (75%)
 copy lang/java/maven-plugin/src/test/resources/unit/{protocol/pom-joda.xml => schema/induce-pom.xml} (73%)