avro.git
19 months agoPreparing for release 1.10.1 release-1.10.1 release-1.10.1-rc1
Ryan Skraba [Tue, 17 Nov 2020 14:41:45 +0000 (15:41 +0100)] 
Preparing for release 1.10.1

19 months agoExclude PHP test results from RAT.
Ryan Skraba [Tue, 17 Nov 2020 16:49:22 +0000 (17:49 +0100)] 
Exclude PHP test results from RAT.

19 months agoAVRO-2980: Use PackageIcon in C# dist (#1006)
RyanSkraba [Wed, 18 Nov 2020 09:47:59 +0000 (10:47 +0100)] 
AVRO-2980: Use PackageIcon in C# dist (#1006)

* AVRO-2980: Use PackageIcon in C# dist

* Revert "AVRO-2980: Use PackageIcon in C# dist"

This reverts commit 861ec616a018c5b8ce82bc76d9d24b6f990246e0.

* AVRO-2961: Use PackageIcon isntead of PackageIconUrl. PackageIconUrl is deprecated and some package repos do not support it

* AVRO-2961: Use already existing avro-logo.png for package icon

* AVRO-2961: Hide avro-logo.png

Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
19 months agoAVRO-2702: Add unit test.
Ryan Skraba [Mon, 16 Nov 2020 17:46:18 +0000 (18:46 +0100)] 
AVRO-2702: Add unit test.

19 months agoAVRO-2702: ResolvingGrammarGenerator Union to use reader schema instead of writer...
bellemare [Mon, 9 Nov 2020 20:46:40 +0000 (15:46 -0500)] 
AVRO-2702: ResolvingGrammarGenerator Union to use reader schema instead of writer schema

19 months agoAVRO-2979: Pin PHP dependency tools to specific versions
Ryan Skraba [Tue, 17 Nov 2020 10:17:29 +0000 (11:17 +0100)] 
AVRO-2979: Pin PHP dependency tools to specific versions

19 months agoAVRO-2750: Add support for enum defaults in c#
Matt Kellogg [Tue, 18 Feb 2020 22:03:14 +0000 (15:03 -0700)] 
AVRO-2750: Add support for enum defaults in c#

19 months agoAVRO-2973: Update protobuf to version 3.12.0
Ismaël Mejía [Thu, 12 Nov 2020 16:58:58 +0000 (17:58 +0100)] 
AVRO-2973: Update protobuf to version 3.12.0

19 months agoAVRO-2972: Update netty to version 4.1.54.Final
Ismaël Mejía [Thu, 12 Nov 2020 16:39:18 +0000 (17:39 +0100)] 
AVRO-2972: Update netty to version 4.1.54.Final

19 months agoAVRO-2971: Update jetty to version 9.4.34.v20201102
Ismaël Mejía [Thu, 12 Nov 2020 16:37:09 +0000 (17:37 +0100)] 
AVRO-2971: Update jetty to version 9.4.34.v20201102

19 months agoAVRO-2970: Update ant to version 1.10.9
Ismaël Mejía [Thu, 12 Nov 2020 16:35:53 +0000 (17:35 +0100)] 
AVRO-2970: Update ant to version 1.10.9

19 months agoAVRO-2969: Update grpc to version 1.33.1
Ismaël Mejía [Thu, 12 Nov 2020 16:32:18 +0000 (17:32 +0100)] 
AVRO-2969: Update grpc to version 1.33.1

19 months agoAVRO-2968: Update commons-lang to version 3.11
Ismaël Mejía [Thu, 12 Nov 2020 16:27:15 +0000 (17:27 +0100)] 
AVRO-2968: Update commons-lang to version 3.11

19 months agoAVRO-2967: Update jackson to version 2.11.3
Ismaël Mejía [Thu, 12 Nov 2020 16:26:13 +0000 (17:26 +0100)] 
AVRO-2967: Update jackson to version 2.11.3

19 months agoAVRO-2966: Update junit to version 4.13.1
Ismaël Mejía [Thu, 12 Nov 2020 16:20:41 +0000 (17:20 +0100)] 
AVRO-2966: Update junit to version 4.13.1

19 months agoAVRO-2965 Update zstd to version 1.4.5-12
Ismaël Mejía [Thu, 12 Nov 2020 16:14:26 +0000 (17:14 +0100)] 
AVRO-2965 Update zstd to version 1.4.5-12

19 months agoAVRO-2964: Update snappy-java to version 1.1.8.1
Ismaël Mejía [Thu, 12 Nov 2020 16:12:55 +0000 (17:12 +0100)] 
AVRO-2964: Update snappy-java to version 1.1.8.1

19 months agoUpdate surefire-plugin to version 3.0.0-M5 and enforcer-rules to version 1.3
Ismaël Mejía [Thu, 12 Nov 2020 16:06:19 +0000 (17:06 +0100)] 
Update surefire-plugin to version 3.0.0-M5 and enforcer-rules to version 1.3

19 months agoAVRO-2924: LocalDateTime for logical type local-timestamp-millis (#950)
Vladimir Kralik [Thu, 12 Nov 2020 16:00:13 +0000 (17:00 +0100)] 
AVRO-2924: LocalDateTime for logical type local-timestamp-millis (#950)

19 months agoAVRO-2875: Add logging to avro-tools (#925)
RyanSkraba [Thu, 12 Nov 2020 15:00:39 +0000 (16:00 +0100)] 
AVRO-2875: Add logging to avro-tools (#925)

* AVRO-2875: Add logging to avro-tools

* Use slf4j-log4j12 instead of slf4j-simple

19 months agofix: Add link back to the Avro homepage.
Ryan Skraba [Mon, 9 Nov 2020 09:21:56 +0000 (10:21 +0100)] 
fix: Add link back to the Avro homepage.

19 months agoAVRO-2945: Add CPAN trademark clarification.
Ryan Skraba [Fri, 6 Nov 2020 07:41:31 +0000 (08:41 +0100)] 
AVRO-2945: Add CPAN trademark clarification.

19 months agoAVRO-2958: Pin composer to 2.0.4
Ryan Skraba [Mon, 9 Nov 2020 17:15:24 +0000 (18:15 +0100)] 
AVRO-2958: Pin composer to 2.0.4

19 months agoAVRO-2957: Pin ruby 'parallel' dependency for Ruby 2.3 support
Ryan Skraba [Mon, 9 Nov 2020 13:17:21 +0000 (14:17 +0100)] 
AVRO-2957: Pin ruby 'parallel' dependency for Ruby 2.3 support

19 months agoAVRO-2891: Expose last sync offset written on DataFileWriter (#954)
Krishnan Sundaram [Wed, 30 Sep 2020 14:16:16 +0000 (07:16 -0700)] 
AVRO-2891: Expose last sync offset written on DataFileWriter (#954)

* AVRO-2891: Add code and tests for lastSync API

* AVRO-2891: simplify tests

Tests now only validate equivalence of sync markers between DataFileWriter and Reader. Remove additional test validating that a specific row can be read using the sync returned from DataFileWriter since it is somewhat redundant.

* AVRO-2891: revert change to cmakelists.txt

The original change was needed to cmakelists.txt due to linker errors
faced when using the standard build instructions.

* add another test to highlight efficient read of avro record using the
new API

* add few more comments to the new test

* Change API name as per PR feedback

Co-authored-by: Krishnan Sundaram <krishs@microsoft.com>
19 months agoAVRO-2096: PHP Added missing methods. (#912)
Siad Ardroumli [Fri, 25 Sep 2020 08:45:24 +0000 (10:45 +0200)] 
AVRO-2096: PHP Added missing methods. (#912)

19 months agoAdd missing vim and cpan-upload packages to the docker image
Ismaël Mejía [Mon, 29 Jun 2020 17:16:58 +0000 (19:16 +0200)] 
Add missing vim and cpan-upload packages to the docker image

19 months agoUpdate documentation examples to Avro version 1.10.0
Ismaël Mejía [Mon, 29 Jun 2020 12:50:43 +0000 (14:50 +0200)] 
Update documentation examples to Avro version 1.10.0

19 months agoUpdate some maven plugins: antrun (3.0.0) spotless (1.31.1)
Ismaël Mejía [Mon, 1 Jun 2020 15:45:40 +0000 (17:45 +0200)] 
Update some maven plugins: antrun (3.0.0) spotless (1.31.1)

20 months agoBump composer-monorepo-plugin
Ryan Skraba [Sat, 31 Oct 2020 08:57:21 +0000 (09:57 +0100)] 
Bump composer-monorepo-plugin

20 months agoAVRO-2944: Fix read pointer in java reader to avoid hang on partial read input stream...
Mick Jermsurawong [Mon, 2 Nov 2020 08:41:00 +0000 (00:41 -0800)] 
AVRO-2944: Fix read pointer in java reader to avoid hang on partial read input stream (#969)

* Add regression test to show failure before fixing

format test

* Fix: increment counter with number of bytes read

20 months agoAVRO-2937: Add some missing options in SpecificCompilerTool (#965)
Eric Palacios [Wed, 28 Oct 2020 12:40:40 +0000 (13:40 +0100)] 
AVRO-2937: Add some missing options in SpecificCompilerTool (#965)

* AVRO-2937: Add some missing options in SpecificCompilerTool

* AVRO-2937: Improve doc

* AVRO-2937: Format code

20 months agoAVRO-2817: Do not validate schema defaults in file (#966)
RyanSkraba [Wed, 14 Oct 2020 09:35:05 +0000 (11:35 +0200)] 
AVRO-2817: Do not validate schema defaults in file (#966)

* AVRO-2817: Do not validate schema defaults in file.

* AVRO-2817: Add missing imports

20 months agoAVRO-2936: Optimize GenericData.addLogicalTypeConversion
Zoltan Farkas [Mon, 5 Oct 2020 12:56:25 +0000 (08:56 -0400)] 
AVRO-2936: Optimize GenericData.addLogicalTypeConversion

21 months agoAVRO2519 - prevent resource leak in NettyTransceiver (#961)
Julian Wexler [Fri, 2 Oct 2020 17:07:42 +0000 (19:07 +0200)] 
AVRO2519 - prevent resource leak in NettyTransceiver (#961)

21 months agoAVRO-2905: Fix Utf8 hash cache (#955)
Kyoungha Min [Wed, 30 Sep 2020 15:27:07 +0000 (08:27 -0700)] 
AVRO-2905: Fix Utf8 hash cache (#955)

* AVRO-2905: Fix Utf8 hash cache

* AVRO-2905: Reflect Comment, add length check

21 months agoAVRO-2907: Fix Ruby single object encoding fingerprint and header (#937)
ypt [Mon, 14 Sep 2020 11:27:35 +0000 (07:27 -0400)] 
AVRO-2907: Fix Ruby single object encoding fingerprint and header (#937)

The bit masking + shifting operation should already result in grabbing
the least significant bytes first for the little endian CRC-64
fingerprint in the header - so traversing the array in reverse order is
unnecessary.

22 months agoFix map example in doc/spec (#952)
Alberto Sanz [Mon, 24 Aug 2020 12:22:28 +0000 (14:22 +0200)] 
Fix map example in doc/spec (#952)

22 months agoAVRO-2908: Skip enum using in.readEnum instead of in.readInt (#942)
Samir Khan [Thu, 13 Aug 2020 09:23:34 +0000 (04:23 -0500)] 
AVRO-2908: Skip enum using in.readEnum instead of in.readInt (#942)

* AVRO-2908: Skip enum using in.readEnum instead of in.readInt

* AVRO-2908: Moved TestSkipEnumSchema to avro.generic

23 months ago[AVRO-2571] avro-maven-plugin not escaping "public" keyword in namespace (#844)
Henrique Mota [Thu, 23 Jul 2020 15:12:31 +0000 (12:12 -0300)] 
[AVRO-2571] avro-maven-plugin not escaping "public" keyword in namespace (#844)

* [AVRO-2571] escape reserved java keywords in packages

* using mangle to scape namespace

* Revert "using mangle to scape namespace"

This reverts commit eb788cc4

* AVRO-2571: using mangle to scape namespace

* AVRO-2571: removing inport  org.apache.commons.lang3.StringUtils

* AVRO-2571: fix NullPointer error

23 months agoAVRO-2889: Fix Test Threading Race Condition (#932)
Michael A. Smith [Thu, 16 Jul 2020 12:52:51 +0000 (08:52 -0400)] 
AVRO-2889: Fix Test Threading Race Condition (#932)

23 months agoAVRO-2382: Fix VERSION constant for Ruby gem (#928)
Tim Perkins [Thu, 9 Jul 2020 12:39:13 +0000 (08:39 -0400)] 
AVRO-2382: Fix VERSION constant for Ruby gem (#928)

2 years agoPrepare for Apache Avro 1.10.1
Ismaël Mejía [Thu, 2 Jul 2020 09:17:04 +0000 (11:17 +0200)] 
Prepare for Apache Avro 1.10.1

2 years agoAVRO-1461: Distribute Perl API on CPAN
Kengo Seki [Thu, 2 Jul 2020 04:41:55 +0000 (13:41 +0900)] 
AVRO-1461: Distribute Perl API on CPAN

Fix Makefile.PL so that PAUSE can identify Avro packages and corresponding files

2 years agoFix missing 1.10.0 update on js package description
Ismaël Mejía [Mon, 29 Jun 2020 15:28:51 +0000 (17:28 +0200)] 
Fix missing 1.10.0 update on js package description

2 years agoAVRO-2865: Actually bump the jar. release-1.10.0 release-1.10.0-rc2
Ryan Skraba [Fri, 19 Jun 2020 13:14:43 +0000 (15:14 +0200)] 
AVRO-2865: Actually bump the jar.

2 years agoAVRO-2865: Remove maven 2 support.
Ryan Skraba [Fri, 19 Jun 2020 11:45:50 +0000 (13:45 +0200)] 
AVRO-2865: Remove maven 2 support.

2 years agoAVRO-2849: Update spec to clarify valid namespaces (#917)
emkornfield [Fri, 12 Jun 2020 08:29:23 +0000 (01:29 -0700)] 
AVRO-2849: Update spec to clarify valid namespaces (#917)

- Adds the grammar as discussed on the mailing list:
https://lists.apache.org/thread.html/r93c4142922587ceefab78d2695570778b22a51e4bd140fd58c21984b%40%3Cdev.avro.apache.org%3E

- Removes double "the".

2 years agoAVRO-2842: Fix missing README rename on PHP build script release-1.10.0-rc1
Ismaël Mejía [Tue, 9 Jun 2020 12:36:48 +0000 (14:36 +0200)] 
AVRO-2842: Fix missing README rename on PHP build script

2 years agoAVRO-1664: Fix RAT exclusions for PHP vendor
Ryan Skraba [Tue, 9 Jun 2020 11:43:23 +0000 (13:43 +0200)] 
AVRO-1664: Fix RAT exclusions for PHP vendor

2 years agoAVRO-1669: PHP Fixed null handling on fields. (#913)
Siad Ardroumli [Mon, 8 Jun 2020 13:04:25 +0000 (15:04 +0200)] 
AVRO-1669: PHP Fixed null handling on fields. (#913)

2 years agoAVRO-2139: Add Test for Decimal @java-class Annotated Generated Classes (#909)
belugabehr [Mon, 8 Jun 2020 12:59:50 +0000 (08:59 -0400)] 
AVRO-2139: Add Test for Decimal @java-class Annotated Generated Classes (#909)

2 years agoAVRO-2780: ProtobufData and ThriftData Can Get Into Endless Loop (#908)
belugabehr [Mon, 8 Jun 2020 12:58:18 +0000 (08:58 -0400)] 
AVRO-2780: ProtobufData and ThriftData Can Get Into Endless Loop (#908)

2 years agoPreparing for release 1.10.0
Ismaël Mejía [Mon, 1 Jun 2020 17:42:07 +0000 (19:42 +0200)] 
Preparing for release 1.10.0

2 years agoAVRO-2854: Upgrade hamcrest to version 2.2
Ismaël Mejía [Mon, 1 Jun 2020 15:07:28 +0000 (17:07 +0200)] 
AVRO-2854: Upgrade hamcrest to version 2.2

2 years agoTypos and ortography fixes
Ismaël Mejía [Mon, 1 Jun 2020 14:46:17 +0000 (16:46 +0200)] 
Typos and ortography fixes

2 years agoAVRO-2853: Upgrade jackson to version 2.11.0
Ismaël Mejía [Mon, 1 Jun 2020 14:53:41 +0000 (16:53 +0200)] 
AVRO-2853: Upgrade jackson to version 2.11.0

2 years agoAVRO-2852: Update Thrift to version 0.13.0
Ismaël Mejía [Mon, 1 Jun 2020 13:36:12 +0000 (15:36 +0200)] 
AVRO-2852: Update Thrift to version 0.13.0

2 years agoAVRO-2743: Update zstd-jni to version 1.4.5-2
Ismaël Mejía [Mon, 1 Jun 2020 14:25:06 +0000 (16:25 +0200)] 
AVRO-2743: Update zstd-jni to version 1.4.5-2

2 years agoAVRO-2811: Fix incorrect repeated grpc version of 1.28.0
Ismaël Mejía [Mon, 1 Jun 2020 14:18:45 +0000 (16:18 +0200)] 
AVRO-2811: Fix incorrect repeated grpc version of 1.28.0

2 years agoFix @Deprecated tag (no value until JDK 9)
RyanSkraba [Mon, 1 Jun 2020 12:31:08 +0000 (14:31 +0200)] 
Fix @Deprecated tag (no value until JDK 9)

2 years agoAVRO-2822: Add warning to an experimental method.
Ryan Skraba [Fri, 29 May 2020 14:28:36 +0000 (16:28 +0200)] 
AVRO-2822: Add warning to an experimental method.

2 years agoAVRO-2850: Configure Hadoop 2 tests execution for backwards compatibility
Ismaël Mejía [Mon, 1 Jun 2020 09:55:20 +0000 (11:55 +0200)] 
AVRO-2850: Configure Hadoop 2 tests execution for backwards compatibility

2 years agoAVRO-2837: DecimalConversion handling of scale and precision (#884)
Matthew McMahon [Mon, 1 Jun 2020 06:42:06 +0000 (16:42 +1000)] 
AVRO-2837: DecimalConversion handling of scale and precision (#884)

* AVRO-2837: DecimalConversion handling of scale and precision

Improve the handling to check precision and not error if scale
of value is less

* AVRO-2837: DecimalConversion handling of scale and precision

Scale needs to be set correctly for serialization in order to
deserialize as expected. Added additional tests and extended
error messages

2 years agoAVRO-2545: Add Ruby support for aliases (#636)
Tim Perkins [Sat, 30 May 2020 13:03:59 +0000 (09:03 -0400)] 
AVRO-2545: Add Ruby support for aliases (#636)

2 years agoAVRO-2596: Upgrade ant to version 1.10.8
Ismaël Mejía [Fri, 29 May 2020 15:30:45 +0000 (17:30 +0200)] 
AVRO-2596: Upgrade ant to version 1.10.8

2 years agoUpdate hadoop to 3.2.1
Daniel Kulp [Fri, 29 May 2020 16:27:35 +0000 (12:27 -0400)] 
Update hadoop to 3.2.1

2 years agoAVRO-2733: No longer explicitly require rubygems
Ryan Skraba [Tue, 12 May 2020 15:47:40 +0000 (17:47 +0200)] 
AVRO-2733: No longer explicitly require rubygems

2 years agoFix spotless format
Ryan Skraba [Fri, 29 May 2020 09:17:09 +0000 (11:17 +0200)] 
Fix spotless format

2 years ago[AVRO-2649] Better fix for allowing args in various orders
Daniel Kulp [Fri, 29 May 2020 13:09:45 +0000 (09:09 -0400)] 
[AVRO-2649] Better fix for allowing args in various orders

2 years agoAVRO-2514:Making Avro serialization error message more actionable with... (#685)
Zezeng Wang [Fri, 29 May 2020 08:57:50 +0000 (16:57 +0800)] 
AVRO-2514:Making Avro serialization error message more actionable with... (#685)

* AVRO-2514:Making Avro serialization error message more actionable with field name

* Update GenericDatumWriter.java

Update to runtime exception

* Update ReflectDatumWriter.java

* AVRO-2514:Update GennericDatumWriter method

2 years agoAVRO-2493: Add custom logical types support for avro-maven-plugin. (#535)
Pavel Likin [Tue, 26 May 2020 17:06:52 +0000 (20:06 +0300)] 
AVRO-2493: Add custom logical types support for avro-maven-plugin. (#535)

* Add custom logical types support for avro-maven-plugin.

* Remove default LogicalTypeFactory.getTypeName implementation according to review remarks.

* Return default implementation for LogicalTypeFactory.getTypeName according to review.

Co-authored-by: Daniel Kulp <dkulp@apache.org>
2 years ago[AVRO-2579]: Fix tests by sorting fields for deterministic order
contextshuffling [Sun, 1 Mar 2020 19:11:05 +0000 (13:11 -0600)] 
[AVRO-2579]: Fix tests by sorting fields for deterministic order

2 years agoAVRO-2649 Made argument order non-enforceable avro-tools cli (#741)
ravowlga123 [Tue, 26 May 2020 16:57:18 +0000 (18:57 +0200)] 
AVRO-2649 Made argument order non-enforceable avro-tools cli (#741)

* AVRO-2649 Made argument order non-enforceable avro-tools cli

* AVRO-2649 Dynamic index value for encoding and templatedir

* AVRO-2649 Add positionindex to save positions of flags

* AVRO-2649 Add test cases

Co-authored-by: Daniel Kulp <dkulp@apache.org>
2 years agoAVRO-2438:SpecificData.deepCopy() cannot be used with java-class fields (#703)
Zezeng Wang [Tue, 26 May 2020 16:48:00 +0000 (00:48 +0800)] 
AVRO-2438:SpecificData.deepCopy() cannot be used with java-class fields (#703)

* AVRO-2438:SpecificData.deepCopy() cannot be used with java-class fields

* Update spotless check

* Modify comment

* AVRO-2438:Increase the deepcopy support of java-key-class

Co-authored-by: Daniel Kulp <dkulp@apache.org>
2 years agoDon't need to exclude this anymore
Daniel Kulp [Tue, 26 May 2020 16:04:52 +0000 (12:04 -0400)] 
Don't need to exclude this anymore

2 years ago[AVRO-2806] Upgrade from Netty 3 -> Netty 4
Daniel Kulp [Tue, 26 May 2020 15:22:49 +0000 (11:22 -0400)] 
[AVRO-2806] Upgrade from Netty 3 -> Netty 4
Closes #887

2 years agoAVRO-2068: Improved static class constructor performance
David Mollitor [Wed, 22 Jan 2020 03:39:22 +0000 (22:39 -0500)] 
AVRO-2068: Improved static class constructor performance

2 years agoAdd example schema for date logical type field to spec docs (#834)
Martin Jul [Tue, 26 May 2020 14:58:35 +0000 (16:58 +0200)] 
Add example schema for date logical type field to spec docs (#834)

* Add example schema for date logical type field.

* Remove name attribute for consistency as suggested by @RyanSkraba

2 years agoAlways read even if skipped (readNull missing)
Valerian [Sun, 29 Mar 2020 16:34:24 +0000 (17:34 +0100)] 
Always read even if skipped (readNull missing)

If readNull not runned, ValidatingDecoder will complain

2 years agoAVRO-2836 Generated java includes logical type conversions (#883)
Matthew McMahon [Tue, 26 May 2020 13:53:36 +0000 (23:53 +1000)] 
AVRO-2836 Generated java includes logical type conversions (#883)

* AVRO-2836 Generated java includes logical type conversions

If the logical type is used for a Fixed type (potentially also Enum)
then it should check if there are any conversions used, and
include in the generated java source

* AVRO-2836 Generated java includes logical type conversions

Move enum and fixed to use the javatype method, as if there is a
logical type conversion it will be picked up and remove a
code path

2 years agocmake: Use GNUInstallDirs instead of hard-coded paths
Khem Raj [Fri, 20 Dec 2019 02:23:41 +0000 (18:23 -0800)] 
cmake: Use GNUInstallDirs instead of hard-coded paths

This ensures that it can be built on platforms where libdir is not
/usr/lib e.g. ppc64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Closes #749

2 years agoAVRO-2842: PHP Add phpcs and fix all violations against PSR12 (#891)
Siad Ardroumli [Tue, 26 May 2020 12:16:12 +0000 (14:16 +0200)] 
AVRO-2842: PHP Add phpcs and fix all violations against PSR12 (#891)

* AVRO-2842: Add phpcs.

* AVRO-2842: Add PSR4 and code formatting.

* AVRO-2842: Fixed not found callbacks.

* AVRO-2842: Fixed PSR12 violations using phpcbf.

* AVRO-2842: Fixed PSR12 violations.

* Fixed left overs.

* Fixed example

* Added autoloader for non composer usage, updated readme and test bootstrap

* Added license

* Fixed psr issues

2 years agoAVRO-2703: Use KMP Algorithm For Sync Marker Search (#782)
belugabehr [Tue, 26 May 2020 12:09:14 +0000 (08:09 -0400)] 
AVRO-2703: Use KMP Algorithm For Sync Marker Search (#782)

* AVRO-2703: Use KMP Algorithm For Sync Marker Search

* Use different implementation to compute partial match table

Co-authored-by: David Mollitor <dmollitor@apache.org>
2 years agoAVRO-2844:Avro-js can't parse default value {}
zeshuai007 [Tue, 26 May 2020 09:15:17 +0000 (17:15 +0800)] 
AVRO-2844:Avro-js can't parse default value {}

2 years agoAVRO-2845: Fix broken C interop test
Kengo Seki [Sun, 24 May 2020 14:03:49 +0000 (23:03 +0900)] 
AVRO-2845: Fix broken C interop test

2 years agoAVRO-2555: update docs to reflect avro-tools name change
Erik Tank [Tue, 10 Sep 2019 17:49:54 +0000 (10:49 -0700)] 
AVRO-2555: update docs to reflect avro-tools name change

2 years ago[AVRO-2624] Bunch of casts to just Buffer so that avro built with Java11 will work...
Daniel Kulp [Fri, 22 May 2020 21:13:44 +0000 (17:13 -0400)] 
[AVRO-2624] Bunch of casts to just Buffer so that avro built with Java11 will work at runtime with Java 8.

2 years agoAVRO-1720: Add tool to count records in avro files
priesnit [Mon, 11 May 2020 20:02:37 +0000 (22:02 +0200)] 
AVRO-1720: Add tool to count records in avro files

2 years agoFix failing test
Daniel Kulp [Fri, 22 May 2020 13:48:59 +0000 (09:48 -0400)] 
Fix failing test

2 years agoAVRO-2782:Add indexed access to C# GenericRecord
Yaniv ru [Sat, 28 Mar 2020 12:59:02 +0000 (15:59 +0300)] 
AVRO-2782:Add indexed access to C# GenericRecord

2 years agoAVRO-2792: Fix C# logical type tests to work in other timezones than UTC
Kengo Seki [Wed, 8 Apr 2020 01:41:21 +0000 (10:41 +0900)] 
AVRO-2792: Fix C# logical type tests to work in other timezones than UTC

2 years agoAVRO-2784: Add the possibility to append to existing files in C# (#853)
Vladimir [Fri, 22 May 2020 12:33:51 +0000 (14:33 +0200)] 
AVRO-2784: Add the possibility to append to existing files in C# (#853)

*Implementation of Java AppendTo() as is

* API optimisation.

* optimisation.

* naming error fix

* Before unit tests.

* Unit tests draft

* unit tests

* Suppress CA1000 warnings for two new methods

Suppression performed to maintain compatibility

Co-authored-by: Volodymyr Aleksandrov <volodymyr.aleksandrov@pl.abb.com>
2 years agoAVRO-2753: Add leaveOpen optional flag
Zoltan Csizmadia [Wed, 19 Feb 2020 23:37:37 +0000 (23:37 +0000)] 
AVRO-2753: Add leaveOpen optional flag

2 years agoAVRO-2714: [C#] Optimize reading on .NET Core and Standard 2.1+ (#792)
Eric Erhardt [Fri, 22 May 2020 12:26:16 +0000 (07:26 -0500)] 
AVRO-2714: [C#] Optimize reading on .NET Core and Standard 2.1+ (#792)

* AVRO-2714: [C#] Optimize reading on .NET Core 2.1+

We can use stackallocs and ArrayPool to save on allocations when running on .NET Core.

* Add netstandard2.1 target back.

2 years ago[AVRO-2278] getter semantics confusing. (#864)
Zoltan Farkas [Fri, 22 May 2020 12:17:43 +0000 (08:17 -0400)] 
[AVRO-2278] getter semantics confusing. (#864)

* [fix] getter semantics confusing.

impossible to distinguish between a correct field with the value null.
and a nonsense field.

* [fix]delete soem generated class

* [fix]delete soem generated class

* [fix]delete soem generated class

* [add] sync up exception behavior for consistency, and better messages.

* [add] helper method.

2 years agoAdded bzip codec to the valid ones
siad007 [Thu, 21 May 2020 17:29:24 +0000 (19:29 +0200)] 
Added bzip codec to the valid ones

2 years agoFixed some whitespaces - force rebuild
siad007 [Thu, 21 May 2020 16:43:18 +0000 (18:43 +0200)] 
Fixed some whitespaces - force rebuild

2 years agoAdded Bzip2 codec.
siad007 [Thu, 21 May 2020 15:53:55 +0000 (17:53 +0200)] 
Added Bzip2 codec.

2 years ago[AVRO-2639] Grab unit test from #726, Rest was already done as part of #817
Daniel Kulp [Fri, 22 May 2020 11:56:50 +0000 (07:56 -0400)] 
[AVRO-2639] Grab unit test from #726, Rest was already done as part of #817
Closes #726