[jira] [Created] (AVRO-3983) Allow setting a custom encoder in DataFileWriter

2024-04-26 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3983:
--

 Summary: Allow setting a custom encoder in DataFileWriter
 Key: AVRO-3983
 URL: https://issues.apache.org/jira/browse/AVRO-3983
 Project: Apache Avro
  Issue Type: Improvement
  Components: java
Affects Versions: 1.11.3
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3982) Use String.isEmpty() instead

2024-04-26 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3982:
--

 Summary: Use String.isEmpty() instead
 Key: AVRO-3982
 URL: https://issues.apache.org/jira/browse/AVRO-3982
 Project: Apache Avro
  Issue Type: Improvement
  Components: java
Affects Versions: 1.11.3
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3981) Close SyncableFileOutputStream

2024-04-26 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3981:
--

 Summary: Close SyncableFileOutputStream
 Key: AVRO-3981
 URL: https://issues.apache.org/jira/browse/AVRO-3981
 Project: Apache Avro
  Issue Type: Improvement
  Components: java
Affects Versions: 1.11.3
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3936) Clean up NOTICE file

2024-02-10 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3936:
--

 Summary: Clean up NOTICE file
 Key: AVRO-3936
 URL: https://issues.apache.org/jira/browse/AVRO-3936
 Project: Apache Avro
  Issue Type: Improvement
Affects Versions: 1.11.3
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3923) Add Avro 1.11.3 release blog

2023-12-28 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3923:
--

 Summary: Add Avro 1.11.3 release blog
 Key: AVRO-3923
 URL: https://issues.apache.org/jira/browse/AVRO-3923
 Project: Apache Avro
  Issue Type: Improvement
  Components: website
Affects Versions: 1.11.3
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3919) Add UUID type example

2023-12-22 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3919:
--

 Summary: Add UUID type example
 Key: AVRO-3919
 URL: https://issues.apache.org/jira/browse/AVRO-3919
 Project: Apache Avro
  Issue Type: Improvement
  Components: spec
Reporter: Fokko Driesprong






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3918) Allow UUID to serialize to Fixed[16]

2023-12-22 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3918:
--

 Summary: Allow UUID to serialize to Fixed[16]
 Key: AVRO-3918
 URL: https://issues.apache.org/jira/browse/AVRO-3918
 Project: Apache Avro
  Issue Type: Improvement
  Components: spec
Affects Versions: 1.11.3
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3914) Add nanos support

2023-12-04 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3914:
--

 Summary: Add nanos support
 Key: AVRO-3914
 URL: https://issues.apache.org/jira/browse/AVRO-3914
 Project: Apache Avro
  Issue Type: Improvement
  Components: java
Affects Versions: 1.11.3
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3887) Remove redundant casts

2023-10-17 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3887:
--

 Summary: Remove redundant casts
 Key: AVRO-3887
 URL: https://issues.apache.org/jira/browse/AVRO-3887
 Project: Apache Avro
  Issue Type: Improvement
Affects Versions: 1.11.3
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0


Removes redundant casts to improve the readability of the code.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3885) Update the maillist link

2023-10-16 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3885:
--

 Summary: Update the maillist link
 Key: AVRO-3885
 URL: https://issues.apache.org/jira/browse/AVRO-3885
 Project: Apache Avro
  Issue Type: Improvement
Affects Versions: 1.11.3
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3884) Add local-timestamp-nanos and timestamp-nanos

2023-10-16 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3884:
--

 Summary: Add local-timestamp-nanos and timestamp-nanos
 Key: AVRO-3884
 URL: https://issues.apache.org/jira/browse/AVRO-3884
 Project: Apache Avro
  Issue Type: Improvement
  Components: spec
Affects Versions: 1.11.3
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3871) Add BlockingDirectBinaryEncoder

2023-09-25 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3871:
--

 Summary: Add BlockingDirectBinaryEncoder
 Key: AVRO-3871
 URL: https://issues.apache.org/jira/browse/AVRO-3871
 Project: Apache Avro
  Issue Type: Improvement
Affects Versions: 1.11.2
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3746) Bump grpc.version from 1.54.0 to 1.54.1

2023-04-23 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3746:
--

 Summary: Bump grpc.version from 1.54.0 to 1.54.1
 Key: AVRO-3746
 URL: https://issues.apache.org/jira/browse/AVRO-3746
 Project: Apache Avro
  Issue Type: Improvement
  Components: java
Affects Versions: 1.11.1
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3745) Bump zstd-jni from 1.5.4-2 to 1.5.5-2

2023-04-23 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3745:
--

 Summary: Bump zstd-jni from 1.5.4-2 to 1.5.5-2
 Key: AVRO-3745
 URL: https://issues.apache.org/jira/browse/AVRO-3745
 Project: Apache Avro
  Issue Type: Improvement
Affects Versions: 1.11.1
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3744) Bump maven-checkstyle-plugin from 3.2.1 to 3.2.2

2023-04-23 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3744:
--

 Summary: Bump maven-checkstyle-plugin from 3.2.1 to 3.2.2
 Key: AVRO-3744
 URL: https://issues.apache.org/jira/browse/AVRO-3744
 Project: Apache Avro
  Issue Type: Improvement
Affects Versions: 1.11.1
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3743) Bump cyclonedx-maven-plugin from 2.7.6 to 2.7.7

2023-04-23 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3743:
--

 Summary: Bump cyclonedx-maven-plugin from 2.7.6 to 2.7.7
 Key: AVRO-3743
 URL: https://issues.apache.org/jira/browse/AVRO-3743
 Project: Apache Avro
  Issue Type: Improvement
Affects Versions: 1.11.1
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3742) Bump maven-plugin-plugin from 3.8.1 to 3.8.2

2023-04-23 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3742:
--

 Summary: Bump maven-plugin-plugin from 3.8.1 to 3.8.2
 Key: AVRO-3742
 URL: https://issues.apache.org/jira/browse/AVRO-3742
 Project: Apache Avro
  Issue Type: Improvement
Affects Versions: 1.11.1
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.12.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (AVRO-3105) Bump maven-bundle-plugin from 4.1.0 to 5.1.2 in /lang/java

2021-04-06 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3105:
--

 Summary: Bump maven-bundle-plugin from 4.1.0 to 5.1.2 in /lang/java
 Key: AVRO-3105
 URL: https://issues.apache.org/jira/browse/AVRO-3105
 Project: Apache Avro
  Issue Type: Improvement
  Components: java
Affects Versions: 1.10.2
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.11.0






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (AVRO-3059) Bump grpc.version from 1.35.0 to 1.36.0 in /lang/java

2021-02-28 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3059:
--

 Summary: Bump grpc.version from 1.35.0 to 1.36.0 in /lang/java
 Key: AVRO-3059
 URL: https://issues.apache.org/jira/browse/AVRO-3059
 Project: Apache Avro
  Issue Type: Improvement
  Components: java
Affects Versions: 1.10.1
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.11.0






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (AVRO-3058) Bump protobuf-java from 3.15.1 to 3.15.3 in /lang/java

2021-02-28 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3058:
--

 Summary: Bump protobuf-java from 3.15.1 to 3.15.3 in /lang/java
 Key: AVRO-3058
 URL: https://issues.apache.org/jira/browse/AVRO-3058
 Project: Apache Avro
  Issue Type: Improvement
  Components: java
Affects Versions: 1.10.1
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.11.0






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (AVRO-3057) Bump zstd-jni from 1.4.8-4 to 1.4.8-6 in /lang/java

2021-02-28 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3057:
--

 Summary: Bump zstd-jni from 1.4.8-4 to 1.4.8-6 in /lang/java
 Key: AVRO-3057
 URL: https://issues.apache.org/jira/browse/AVRO-3057
 Project: Apache Avro
  Issue Type: Improvement
  Components: java
Affects Versions: 1.10.1
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.11.0






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-3055) Bump protobuf-java from 3.14.0 to 3.15.1 in /lang/java

2021-02-23 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-3055.

Resolution: Fixed

> Bump protobuf-java from 3.14.0 to 3.15.1 in /lang/java
> --
>
> Key: AVRO-3055
> URL: https://issues.apache.org/jira/browse/AVRO-3055
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.10.1
>Reporter: Fokko Driesprong
>Assignee: Fokko Driesprong
>Priority: Major
> Fix For: 1.11.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (AVRO-3055) Bump protobuf-java from 3.14.0 to 3.15.1 in /lang/java

2021-02-23 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3055:
--

 Summary: Bump protobuf-java from 3.14.0 to 3.15.1 in /lang/java
 Key: AVRO-3055
 URL: https://issues.apache.org/jira/browse/AVRO-3055
 Project: Apache Avro
  Issue Type: Improvement
  Components: java
Affects Versions: 1.10.1
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.11.0






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (AVRO-3043) Remove redundant generic casts

2021-02-11 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3043:
--

 Summary: Remove redundant generic casts
 Key: AVRO-3043
 URL: https://issues.apache.org/jira/browse/AVRO-3043
 Project: Apache Avro
  Issue Type: Improvement
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (AVRO-3042) Make MODEL$ final

2021-02-11 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3042:
--

 Summary: Make MODEL$ final
 Key: AVRO-3042
 URL: https://issues.apache.org/jira/browse/AVRO-3042
 Project: Apache Avro
  Issue Type: Improvement
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-3030) Remove public_deprecated

2021-02-01 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-3030.

Resolution: Fixed

> Remove public_deprecated
> 
>
> Key: AVRO-3030
> URL: https://issues.apache.org/jira/browse/AVRO-3030
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.10.1
>Reporter: Fokko Driesprong
>Assignee: Fokko Driesprong
>Priority: Major
> Fix For: 1.11.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (AVRO-3030) Remove public_deprecated

2021-01-29 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3030:
--

 Summary: Remove public_deprecated
 Key: AVRO-3030
 URL: https://issues.apache.org/jira/browse/AVRO-3030
 Project: Apache Avro
  Issue Type: Improvement
  Components: java
Affects Versions: 1.10.1
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.11.0






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (AVRO-3024) Bump Jackson to 2.11.4

2021-01-13 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-3024:
--

 Summary: Bump Jackson to 2.11.4
 Key: AVRO-3024
 URL: https://issues.apache.org/jira/browse/AVRO-3024
 Project: Apache Avro
  Issue Type: Improvement
  Components: java
Affects Versions: 1.10.1
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.11.0






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2948) Deprecate and Replace No Longer Maintained Probot PR Labeler

2020-11-01 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2948.

Fix Version/s: 1.11.0
   Resolution: Fixed

> Deprecate and Replace No Longer Maintained Probot PR Labeler
> 
>
> Key: AVRO-2948
> URL: https://issues.apache.org/jira/browse/AVRO-2948
> Project: Apache Avro
>  Issue Type: Task
>Reporter: Kyle Bendickson
>Assignee: Kyle Bendickson
>Priority: Major
> Fix For: 1.11.0
>
>
> The Probot PR Autolabeler is no longer being maintained. For nearly a month 
> now, PRs in some Apache repos have not been labeled.
> I've fixed the issue in the Iceberg repo, and in the process of clearing out 
> the permissions for that app in the Iceberg repo I realized that the Avro 
> repo is using it too.
> Here's the issue in the probot PR labeler repo where the maintainer, github 
> user [at]mithro says that it is no longer maintained: 
> [https://github.com/mithro/autolabeler/issues/57]
> I'm going to migrate the avro repo to use the standard Github Action PR 
> labeler



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2948) Deprecate and Replace No Longer Maintained Probot PR Labeler

2020-11-01 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2948:
--

Assignee: Kyle Bendickson

> Deprecate and Replace No Longer Maintained Probot PR Labeler
> 
>
> Key: AVRO-2948
> URL: https://issues.apache.org/jira/browse/AVRO-2948
> Project: Apache Avro
>  Issue Type: Task
>Reporter: Kyle Bendickson
>Assignee: Kyle Bendickson
>Priority: Major
>
> The Probot PR Autolabeler is no longer being maintained. For nearly a month 
> now, PRs in some Apache repos have not been labeled.
> I've fixed the issue in the Iceberg repo, and in the process of clearing out 
> the permissions for that app in the Iceberg repo I realized that the Avro 
> repo is using it too.
> Here's the issue in the probot PR labeler repo where the maintainer, github 
> user [at]mithro says that it is no longer maintained: 
> [https://github.com/mithro/autolabeler/issues/57]
> I'm going to migrate the avro repo to use the standard Github Action PR 
> labeler



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2951) Bump composer-monorepo-plugin to fix CI

2020-11-01 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2951.

Resolution: Duplicate

Duplicate

> Bump composer-monorepo-plugin to fix CI
> ---
>
> Key: AVRO-2951
> URL: https://issues.apache.org/jira/browse/AVRO-2951
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: php
>Affects Versions: 1.10.0
>Reporter: Fokko Driesprong
>Assignee: Fokko Driesprong
>Priority: Major
> Fix For: 1.11.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2949) Build failure with PHP dependencies

2020-11-01 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2949.

  Assignee: Ryan Skraba
Resolution: Fixed

> Build failure with PHP dependencies
> ---
>
> Key: AVRO-2949
> URL: https://issues.apache.org/jira/browse/AVRO-2949
> Project: Apache Avro
>  Issue Type: Task
>Reporter: Ryan Skraba
>Assignee: Ryan Skraba
>Priority: Major
>
> The build is currently failing with:
> {code}
> cd lang/php
> + ./build.sh test
> No lock file found. Updating dependencies instead of installing from lock 
> file. Use composer update over composer install if you do not have a lock 
> file.
> Loading composer repositories with package information
> Updating dependencies
> Your requirements could not be resolved to an installable set of packages.
>  
>  Problem 1
>  - beberlei/composer-monorepo-plugin[v0.12, ..., v0.12.1] require 
> composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not 
> match the constraint.
>  - Root composer.json requires beberlei/composer-monorepo-plugin ^0.12 -> 
> satisfiable by beberlei/composer-monorepo-plugin[v0.12, v0.12.1].
>  
> You are using Composer 2, which some of your plugins seem to be incompatible 
> with. Make sure you update your plugins or report a plugin-issue to ask them 
> to support Composer 2.
> {code} 
> We might have to bump {{beberlei/composer-monorepo-plugin}}, which adds 
> Composer 2 support.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (AVRO-2951) Bump composer-monorepo-plugin to fix CI

2020-11-01 Thread Fokko Driesprong (Jira)
Fokko Driesprong created AVRO-2951:
--

 Summary: Bump composer-monorepo-plugin to fix CI
 Key: AVRO-2951
 URL: https://issues.apache.org/jira/browse/AVRO-2951
 Project: Apache Avro
  Issue Type: Improvement
  Components: php
Affects Versions: 1.10.0
Reporter: Fokko Driesprong
Assignee: Fokko Driesprong
 Fix For: 1.11.0






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2096) PHP - Missing function skip_array in AvroIOBinaryDecoder causes php critical error

2020-09-25 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2096.

Fix Version/s: 1.10.1
   1.11.0
 Assignee: Siad Ardroumli
   Resolution: Fixed

> PHP - Missing function skip_array in AvroIOBinaryDecoder causes php critical 
> error
> --
>
> Key: AVRO-2096
> URL: https://issues.apache.org/jira/browse/AVRO-2096
> Project: Apache Avro
>  Issue Type: Bug
>  Components: php
>Affects Versions: 1.8.0
>Reporter: Andrew Pinder
>Assignee: Siad Ardroumli
>Priority: Critical
> Fix For: 1.11.0, 1.10.1
>
>
> On encountering invaid schema avro dies when it calles $decoder->skip_array() 
> - a method which does not exist.   I note that skip_map() also doesnot exist
> {code}
> 2017-10-16 09:20:41] critical Error: Call to undefined method 
> AvroIOBinaryDecoder::skip_array() in 
> /Volumes/Sites/projects/domainSearch/search-results-daemon/vendor/rg/avro-php/lib/avro/datum.php:771
> Stack trace:
> #0 
> /Volumes/Sites/projects/domainSearch/search-results-daemon/vendor/rg/avro-php/lib/avro/datum.php(661):
>  AvroIODatumReader->skip_data(Object(AvroArraySchema), 
> Object(AvroIOBinaryDecoder))
> #1 
> /Volumes/Sites/projects/domainSearch/search-results-daemon/vendor/rg/avro-php/lib/avro/datum.php(557):
>  AvroIODatumReader->read_record(Object(AvroRecordSchema), 
> Object(AvroRecordSchema), Object(AvroIOBinaryDecoder))
> #2 
> /Volumes/Sites/projects/domainSearch/search-results-daemon/vendor/rg/avro-php/lib/avro/datum.php(499):
>  AvroIODatumReader->read_data(Object(AvroRecordSchema), 
> Object(AvroRecordSchema), Object(AvroIOBinaryDecoder))
> #3 
> /Volumes/Sites/projects/domainSearch/search-results-daemon/vendor/rg/avro-php/lib/avro/data_file.php(301):
>  AvroIODatumReader->read(Object(AvroIOBinaryDecoder))
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2855) PHP Add alias support and drop endian condition

2020-08-24 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2855.

  Assignee: Siad Ardroumli
Resolution: Fixed

> PHP Add alias support and drop endian condition
> ---
>
> Key: AVRO-2855
> URL: https://issues.apache.org/jira/browse/AVRO-2855
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: php
>Reporter: Siad Ardroumli
>Assignee: Siad Ardroumli
>Priority: Major
> Fix For: 1.11.0
>
>
> Add alais support to fullfill 1.4.0 spec and remove endian conditions (PHP 7 
> has now little endian support).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (AVRO-2896) avro-python3 setup_requires breaks installing beind proxy

2020-08-20 Thread Fokko Driesprong (Jira)


[ 
https://issues.apache.org/jira/browse/AVRO-2896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17181056#comment-17181056
 ] 

Fokko Driesprong commented on AVRO-2896:


Can you share some logs? Of how to reproduce this?

> avro-python3 setup_requires breaks installing beind proxy
> -
>
> Key: AVRO-2896
> URL: https://issues.apache.org/jira/browse/AVRO-2896
> Project: Apache Avro
>  Issue Type: Bug
>Reporter: Bernat Gabor
>Priority: Major
>
> Exact same as we did for avro (python 2), see 
> https://issues.apache.org/jira/browse/AVRO-2747, but also for Python 3, 
> please. Regression introduced with 
> [https://github.com/apache/avro/commit/097ff2d69b52cddb249ea27c89bea7059f6a79df]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2881) Java's Protobuf to Avro: Invalid default value, expected double found long: 0

2020-08-19 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2881.

Fix Version/s: 1.11.0
 Assignee: Koosha Hosseiny
   Resolution: Fixed

> Java's Protobuf to Avro: Invalid default value, expected double found long: 0
> -
>
> Key: AVRO-2881
> URL: https://issues.apache.org/jira/browse/AVRO-2881
> Project: Apache Avro
>  Issue Type: Bug
>  Components: java
>Reporter: Koosha Hosseiny
>Assignee: Koosha Hosseiny
>Priority: Major
> Fix For: 1.11.0
>
>
> When generating avro files using java's protobuf to avro conversion, double 
> value's default is set to "0" while it should be "0.0".
> This will cause import failure on BigQuery.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (AVRO-2903) Validation error with a default double value

2020-07-22 Thread Fokko Driesprong (Jira)


[ 
https://issues.apache.org/jira/browse/AVRO-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17162690#comment-17162690
 ] 

Fokko Driesprong commented on AVRO-2903:


Thanks [~JayJay] for the report and a patch. Could you open up a PR on Github?

> Validation error with a default double value
> 
>
> Key: AVRO-2903
> URL: https://issues.apache.org/jira/browse/AVRO-2903
> Project: Apache Avro
>  Issue Type: Bug
>  Components: ruby
>Affects Versions: 1.9.2
>Reporter: JAEJOON LEE
>Priority: Major
> Attachments: AVRO-2903.patch
>
>
> Hi 
> When I use _logstash-codec-avro_schema_registry_,
> the following schema always raises an error for validating default.
> {code:java}
> // json
> {
>  "type": "record",
>  "name": "RawLog",
> ...
>  "fields": [
>  {
>  "name": "exchangeRate",
>  "type": "double",
>  "default": 1.0
>  },
> ...{code}
>  
> This is an error message. 
> {code:java}
>  Error: Error validating default for exchangeRate: at . expected type double, 
> got BigDecimal with value 0.1e1
>   Exception: Avro::SchemaParseError
>   Stack: 
> /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/avro-1.9.2/lib/avro/schema.rb:403:in
>  `validate_default!'
> {code}
>  
> It seems like the default value treated as BigDecimal, but it should be 
> double. 
> The plugin code - _logstash-codec-avro_schema_registry_ - ,
> they just simply use avro lib & schema registry,
> hard to find any proper reason why that make a validation error. 
>  
> If I put the BigDecimal as default value at validate_simple(), 
> is it make a sense ? 
> Please help me and reviews this patch. 
>  
> Thanks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-1669) Schema from JSON drops extra attributes

2020-06-08 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-1669:
--

Assignee: Siad Ardroumli

> Schema from JSON drops extra attributes
> ---
>
> Key: AVRO-1669
> URL: https://issues.apache.org/jira/browse/AVRO-1669
> Project: Apache Avro
>  Issue Type: Bug
>  Components: c
>Affects Versions: 1.7.7
>Reporter: Oleksandr Shulgin
>Assignee: Siad Ardroumli
>Priority: Major
> Fix For: 1.10.0
>
> Attachments: avro-schema-from-json-logical-type-example.c
>
>
> Schema produced by avro_schema_from_json can be missing substantial details 
> found in the JSON, e.g. logicalType.
> The spec says that Decimal logical type can be derived from either fixed or 
> bytes type: http://avro.apache.org/docs/1.7.7/spec.html#Decimal
> However, after parsing a correct JSON, the resulting schema is missing any 
> details of the logical type.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-1669) Schema from JSON drops extra attributes

2020-06-08 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-1669.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Schema from JSON drops extra attributes
> ---
>
> Key: AVRO-1669
> URL: https://issues.apache.org/jira/browse/AVRO-1669
> Project: Apache Avro
>  Issue Type: Bug
>  Components: c
>Affects Versions: 1.7.7
>Reporter: Oleksandr Shulgin
>Priority: Major
> Fix For: 1.10.0
>
> Attachments: avro-schema-from-json-logical-type-example.c
>
>
> Schema produced by avro_schema_from_json can be missing substantial details 
> found in the JSON, e.g. logicalType.
> The spec says that Decimal logical type can be derived from either fixed or 
> bytes type: http://avro.apache.org/docs/1.7.7/spec.html#Decimal
> However, after parsing a correct JSON, the resulting schema is missing any 
> details of the logical type.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2139) Add Test for Decimal @java-class Annotated Generated Classes

2020-06-08 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2139.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Add Test for Decimal @java-class Annotated Generated Classes
> 
>
> Key: AVRO-2139
> URL: https://issues.apache.org/jira/browse/AVRO-2139
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Auke van Leeuwen
>Assignee: David Mollitor
>Priority: Minor
> Fix For: 1.10.0
>
>
> Description:
> When I'm using a schema with an {{@java-class}}, I can't seem to be using the 
> 'copy' builder.
> I think a piece of code says more than a thousands words:
> {{.avdl}} snippet:
> {noformat}
> ...
>   record Money {
> Currency currency;
> @java-class("java.math.BigDecimal")
> string amount;
>   }
> ...
> {noformat}
> Test:
> {noformat}
> @Test
> void test_copy_builder() {
> Money original = Money.newBuilder()
> .setAmount(BigDecimal.TEN)
> .setCurrency(Currency.EUR)
> .build();
> Money duplicate = Money.newBuilder(original).build();
> assertThat(duplicate, is(equalTo(original)));
> }
> {noformat}
> Result:
> {noformat}
> java.lang.ClassCastException: org.apache.avro.util.Utf8 cannot be cast to 
> java.math.BigDecimal
>   at 
> avro.moneyou.midlayer.common.financial.Money$Builder.(Money.java:193)
>   at 
> avro.moneyou.midlayer.common.financial.Money$Builder.(Money.java:155)
>   at 
> avro.moneyou.midlayer.common.financial.Money.newBuilder(Money.java:149)
>   at 
> avro.moneyou.midlayer.common.financial.MoneyTest.test_copy_builder(MoneyTest.java:20)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:389)
>   at 
> org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:115)
>   at 
> org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:167)
>   at 
> org.junit.jupiter.engine.execution.ThrowableCollector.execute(ThrowableCollector.java:40)
>   at 
> org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:163)
> ...
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2780) ProtobufData and ThriftData Can Get Into Endless Loop

2020-06-08 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2780.

Fix Version/s: 1.10.0
   Resolution: Fixed

> ProtobufData and ThriftData Can Get Into Endless Loop
> -
>
> Key: AVRO-2780
> URL: https://issues.apache.org/jira/browse/AVRO-2780
> Project: Apache Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.9.2
>Reporter: Tianyu Lang
>Assignee: David Mollitor
>Priority: Critical
> Fix For: 1.10.0
>
>
> We have found a bug related, but probably not limited to ProtobufDatumReader. 
> In Protobuf, if the ".proto" file has the same name as the message, in the 
> generated ".java" file, "OuterClass" will be appended to the outer class's 
> name. This is documented here: 
> [https://developers.google.com/protocol-buffers/docs/reference/java-generated#invocation]
> Now we have a test protobuf class defined like so:
>  
> {code:java}
> syntax = "proto2";
> package test.avrobug;
> option java_package = "com.test.protos.avrobug";
> option java_generic_services = true;
> enum State {
>   BAD = 0;
>   VERY_BAD = 1;
>   SUPER_BAD = 2;
> }
> message Dummy {
>   optional string token = 1;
>   optional string description = 2;
>   optional int64 count = 3;
>   optional State state = 4;
> }
> {code}
>  
>  
> If we first create a Protobuf object, write it to a file as Avro through 
> ProtobufDatumReader, then read it into a Protobuf with ProtobufDatumReader, a 
> stack overflow exception will happen. Code to reproduce is as follows:
>  
> {code:java}
> @Test
> public void ProtoToAvroOuterClassBug() throws Exception {
>   DummyOuterClass.Dummy dummy = DummyOuterClass.Dummy.newBuilder()
>   .setCount(50)
>   .setDescription("hehe")
>   .setToken("abc123")
>   .setState(DummyOuterClass.State.BAD)
>   .build();
>   
>   ProtobufDatumWriter pbWriter =
>   new ProtobufDatumWriter<>(DummyOuterClass.Dummy.class);
>   DataFileWriter dataFileWriter = new 
> DataFileWriter<>(pbWriter);
>   Schema schema = ProtobufData.get().getSchema(DummyOuterClass.Dummy.class);
>   dataFileWriter.create(schema,
>   new File("/Users/me/Documents/DummyAvroNoDefaultValues.avro"));
>   dataFileWriter.append(dummy);
>   dataFileWriter.close();
>   ProtobufDatumReader pbReader =
>   new ProtobufDatumReader<>(DummyOuterClass.Dummy.class);
>   DataFileReader dataFileReader =
>   new DataFileReader<>(new 
> File("/Users/me/Documents/DummyAvroNoDefaultValues.avro"),
>   pbReader);
>   while(dataFileReader.hasNext()) {
> DummyOuterClass.Dummy record = dataFileReader.next();
> String recordStr = record.toString();
> String originStr = dummy.toString();
> System.out.println(recordStr);
> System.out.println(originStr);
>   }
> }
> {code}
>  
>  
> When this is run, a stack overflow exception will happen with the following 
> stack trace:
>  
> {code:java}
> java.lang.StackOverflowErrorjava.lang.StackOverflowError                      
> at 
> java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
>                       at 
> org.apache.avro.specific.SpecificData.getClass(SpecificData.java:250)         
>              at 
> org.apache.avro.protobuf.ProtobufData.newRecord(ProtobufData.java:141)        
>               at 
> org.apache.avro.protobuf.ProtobufData.newRecord(ProtobufData.java:143)        
>               at 
> org.apache.avro.protobuf.ProtobufData.newRecord(ProtobufData.java:143)        
>               at 
> ..{code}
> newRecord() is recursed infinitely until stack explodes
> I did a bit code tracing and I found out when Avro tries to load the 
> corresponding Java class from the schema, it tries to load the class 
> "com.test.protos.avrobug.Dummy.Dummy". I suspect the double "Dummy" at the 
> end is related to the stack overflow, but I don't have enough knowledge on 
> Proto or Avro to know the exact reason.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2839) PHP: Add support for zstd and snappy codec

2020-05-21 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2839.

Fix Version/s: 1.10.0
 Assignee: Siad Ardroumli
   Resolution: Fixed

> PHP: Add support for zstd and snappy codec
> --
>
> Key: AVRO-2839
> URL: https://issues.apache.org/jira/browse/AVRO-2839
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: php
> Environment:  
>  
>Reporter: Siad Ardroumli
>Assignee: Siad Ardroumli
>Priority: Major
> Fix For: 1.10.0
>
>
> Add support for zstd and snappy codecs, if appropiate extension is available.
>  * zstd
>  ** [https://pecl.php.net/package/zstd]
>  * snappy
>  ** [https://github.com/kjdev/php-ext-snappy]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2752) PHP: Setup as Composer package on Packagist.org

2020-05-17 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2752.

Fix Version/s: 1.10.0
 Assignee: Siad Ardroumli
   Resolution: Fixed

> PHP: Setup as Composer package on Packagist.org
> ---
>
> Key: AVRO-2752
> URL: https://issues.apache.org/jira/browse/AVRO-2752
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: php
>Reporter: Ben Edmunds
>Assignee: Siad Ardroumli
>Priority: Major
> Fix For: 1.10.0
>
>
> Composer is the de facto package manager for PHP.  Not having Avro available 
> as a Composer package on Packagist.org means that this library is impossible 
> to use as a direct dependency in most PHP projects.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2828) Add missing AvroNotImplementedException implementation.

2020-05-13 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2828:
--

Assignee: Siad Ardroumli

> Add missing AvroNotImplementedException implementation.
> ---
>
> Key: AVRO-2828
> URL: https://issues.apache.org/jira/browse/AVRO-2828
> Project: Apache Avro
>  Issue Type: Bug
>Reporter: Siad Ardroumli
>Assignee: Siad Ardroumli
>Priority: Major
> Fix For: 1.10.0
>
>
> `{color:#00}AvroNotImplementedException{color}` is used but not 
> implemented.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2828) Add missing AvroNotImplementedException implementation.

2020-05-13 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2828.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Add missing AvroNotImplementedException implementation.
> ---
>
> Key: AVRO-2828
> URL: https://issues.apache.org/jira/browse/AVRO-2828
> Project: Apache Avro
>  Issue Type: Bug
>Reporter: Siad Ardroumli
>Priority: Major
> Fix For: 1.10.0
>
>
> `{color:#00}AvroNotImplementedException{color}` is used but not 
> implemented.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AVRO-2833) [Python] lint fails with pycodestyle 2.6.0

2020-05-13 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong updated AVRO-2833:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> [Python] lint fails with pycodestyle 2.6.0
> --
>
> Key: AVRO-2833
> URL: https://issues.apache.org/jira/browse/AVRO-2833
> Project: Apache Avro
>  Issue Type: Bug
>Reporter: Ryan Skraba
>Assignee: Ryan Skraba
>Priority: Major
> Fix For: 1.10.0
>
>
> It looks like our code fails the lint since the recent update of pycodestyle 
> from 2.5.0 to 2.6.0.
> {code}
> +cd lang/py
> + ./build.sh lint test
> GLOB sdist-make: /home/travis/build/RyanSkraba/avro/lang/py/setup.py
> lint create: /home/travis/build/RyanSkraba/avro/lang/py/.tox/lint
> lint installdeps: isort, pycodestyle
> lint inst: 
> /home/travis/build/RyanSkraba/avro/lang/py/.tox/.tmp/package/1/avro-1.10.0+snapshot.zip
> lint installed: avro @ 
> file:///home/travis/build/RyanSkraba/avro/lang/py/.tox/.tmp/package/1/avro-1.10.0%2Bsnapshot.zip,isort==4.3.21,pycodestyle==2.6.0
> lint run-test-pre: PYTHONHASHSEED='3539139953'
> lint run-test: commands[0] | isort --check-only
> Skipped 1 files
> lint run-test: commands[1] | pycodestyle
> ./avro/test/test_datafile_interop.py:30:1: E302 expected 2 blank lines, found 
> 1
> 1   E302 expected 2 blank lines, found 1
> ERROR: InvocationError for command 
> /home/travis/build/RyanSkraba/avro/lang/py/.tox/lint/bin/pycodestyle (exited 
> with code 1)
> {code}
> This can be reproduced locally (and on all PR checks since May 11th).
> We could pin pycodestyle to 2.5.0, but we should also listen to the lint and 
> fix this whitespace.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AVRO-2751) PHP: Upgrade Compatibility to PHP 7.4

2020-05-11 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong updated AVRO-2751:
---
Status: Patch Available  (was: Open)

> PHP: Upgrade Compatibility to PHP 7.4
> -
>
> Key: AVRO-2751
> URL: https://issues.apache.org/jira/browse/AVRO-2751
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: php
>Reporter: Ben Edmunds
>Assignee: Siad Ardroumli
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AVRO-2751) PHP: Upgrade Compatibility to PHP 7.4

2020-05-11 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong updated AVRO-2751:
---
Fix Version/s: 1.10.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> PHP: Upgrade Compatibility to PHP 7.4
> -
>
> Key: AVRO-2751
> URL: https://issues.apache.org/jira/browse/AVRO-2751
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: php
>Reporter: Ben Edmunds
>Assignee: Siad Ardroumli
>Priority: Major
> Fix For: 1.10.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2751) PHP: Upgrade Compatibility to PHP 7.4

2020-05-11 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2751:
--

Assignee: Siad Ardroumli

> PHP: Upgrade Compatibility to PHP 7.4
> -
>
> Key: AVRO-2751
> URL: https://issues.apache.org/jira/browse/AVRO-2751
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: php
>Reporter: Ben Edmunds
>Assignee: Siad Ardroumli
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2827) PHP: Fix class property visibility.

2020-05-11 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2827:
--

Assignee: Siad Ardroumli

> PHP: Fix class property visibility.
> ---
>
> Key: AVRO-2827
> URL: https://issues.apache.org/jira/browse/AVRO-2827
> Project: Apache Avro
>  Issue Type: Bug
>  Components: php
>Reporter: Siad Ardroumli
>Assignee: Siad Ardroumli
>Priority: Major
> Fix For: 1.10.0
>
>
> Using `AvroDataIOWriter` with no `writers_schema` set, will lead in a 
> FatalError.
> See this line:
> [https://github.com/apache/avro/blob/92e3f49ba15c7437fb99b1f21f55d2457a759cb2/lang/php/lib/avro/data_file.php#L465]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2827) PHP: Fix class property visibility.

2020-05-11 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2827.

Fix Version/s: 1.10.0
   Resolution: Fixed

> PHP: Fix class property visibility.
> ---
>
> Key: AVRO-2827
> URL: https://issues.apache.org/jira/browse/AVRO-2827
> Project: Apache Avro
>  Issue Type: Bug
>  Components: php
>Reporter: Siad Ardroumli
>Priority: Major
> Fix For: 1.10.0
>
>
> Using `AvroDataIOWriter` with no `writers_schema` set, will lead in a 
> FatalError.
> See this line:
> [https://github.com/apache/avro/blob/92e3f49ba15c7437fb99b1f21f55d2457a759cb2/lang/php/lib/avro/data_file.php#L465]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (AVRO-2527) Upgrade PHP version to 7.x

2020-05-10 Thread Fokko Driesprong (Jira)


[ 
https://issues.apache.org/jira/browse/AVRO-2527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17103891#comment-17103891
 ] 

Fokko Driesprong commented on AVRO-2527:


[~siad007] feel free to open up a PR to bump the version in the CI

> Upgrade PHP version to 7.x
> --
>
> Key: AVRO-2527
> URL: https://issues.apache.org/jira/browse/AVRO-2527
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: php
>Reporter: Kengo Seki
>Assignee: Kengo Seki
>Priority: Major
> Fix For: 1.10.0
>
>
> Avro currently supports PHP 5.x, but [its support period has expired on Jan 
> 2019|https://www.php.net/supported-versions.php].
> We should support PHP 7.1+, on which the community support is continuing at 
> this time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2745) Return optional through getters for nullable fields only

2020-05-09 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2745.

Fix Version/s: 1.10.0
 Assignee: Artur Kalimullin
   Resolution: Fixed

> Return optional through getters for nullable fields only 
> -
>
> Key: AVRO-2745
> URL: https://issues.apache.org/jira/browse/AVRO-2745
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: Artur Kalimullin
>Assignee: Artur Kalimullin
>Priority: Minor
> Fix For: 1.10.0
>
>
> Currently gettersReturnOptional parameter makes getters always return 
> Optional, even when the field is not nullable. I think it would be better for 
> the end user to know from the code if the field really is optional or not and 
> that's the real use case of Optional in Java.
> It can be done by either changing gettersReturnOptional behaviour or by 
> adding additional parameter that compliments the gettersReturnOptional. I 
> think the second option is better as it won't break users that are already 
> using gettersReturnOptional. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (AVRO-2805) Reflection-based schema not loading types

2020-05-09 Thread Fokko Driesprong (Jira)


[ 
https://issues.apache.org/jira/browse/AVRO-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17103165#comment-17103165
 ] 

Fokko Driesprong commented on AVRO-2805:


Thanks, [~pcless] for sharing this with us, and [~anhldbk] for looking into the 
issue. I'll close this one for now.

> Reflection-based schema not loading types 
> --
>
> Key: AVRO-2805
> URL: https://issues.apache.org/jira/browse/AVRO-2805
> Project: Apache Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.9.1
>Reporter: Pedro Cardoso Silva
>Priority: Critical
>
> Avro reflection is unable to generate a schema for the following definition:
> {code:java} 
> public class Definition {
> public Map
> }
> public enum Type {
>   A,
>   B,
>   C
> }
> {code}
> {code:java}
> // Test code
> Schema schema = ReflectData.get().getSchema(Definition.class)
> {code}
> Fails with: 
> Undefined name: "FieldType"
> org.apache.avro.SchemaParseException: Undefined name: "Type"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2805) Reflection-based schema not loading types

2020-05-09 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2805:
--

Assignee: Andy Le

> Reflection-based schema not loading types 
> --
>
> Key: AVRO-2805
> URL: https://issues.apache.org/jira/browse/AVRO-2805
> Project: Apache Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.9.1
>Reporter: Pedro Cardoso Silva
>Assignee: Andy Le
>Priority: Critical
>
> Avro reflection is unable to generate a schema for the following definition:
> {code:java} 
> public class Definition {
> public Map
> }
> public enum Type {
>   A,
>   B,
>   C
> }
> {code}
> {code:java}
> // Test code
> Schema schema = ReflectData.get().getSchema(Definition.class)
> {code}
> Fails with: 
> Undefined name: "FieldType"
> org.apache.avro.SchemaParseException: Undefined name: "Type"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (AVRO-2817) Avro file generated using avro-1.8.2 is not readable from avro-1.9.2 for certian type of schemas

2020-05-09 Thread Fokko Driesprong (Jira)


[ 
https://issues.apache.org/jira/browse/AVRO-2817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17103164#comment-17103164
 ] 

Fokko Driesprong commented on AVRO-2817:


So I've encountered this as well a couple of times when upgrading internal 
applications to the latest version of Avro. I would say that the behavior is 
more correct than before, but it breaks backward compatibility. The solution is 
in the type, null is not a string, so an union of string an null would be 
appropriate here: [https://avro.apache.org/docs/1.9.2/spec.html#Unions]

> Avro file generated  using avro-1.8.2  is  not readable from  avro-1.9.2  for 
> certian type  of schemas
> --
>
> Key: AVRO-2817
> URL: https://issues.apache.org/jira/browse/AVRO-2817
> Project: Apache Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.9.2
>Reporter: Manoj Kumar Jha
>Priority: Blocker
> Fix For: 1.8.2
>
> Attachments: records.avro
>
>
> Hello,
> We observed   avro file generated using avro-1.8.2  is not readable while 
> using avro-1.9.2   if schema contains a field "default:null".   Please see 
> below.
>  
> --
> [mxj142:Jars]$ ls -ltr
> total 168520
> -rwx--@ 1 mxj142 staff 34798932 Jan 16 14:45 avro-tools-1.8.2.jar
> -rwxr-xr-x@ 1 mxj142 staff 51303364 Mar 6 17:43 avro-tools-1.9.2.jar
> -rw-r--r-- 1 mxj142 staff 715 Apr 24 11:19 records.avro
> [mxj142:Jars]$ java -jar avro-tools-1.8.2.jar tojson records.avro
> log4j:WARN No appenders could be found for logger 
> (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
> info.
> {"enrichmentHeader":\{"correlationId":"1","sourceId":"09b5d770-7373-462d-9517-8e5ce957793f"},"cx":\{"dateFirst":"20200419","dateLast":"20200419"}}
> {"enrichmentHeader":\{"correlationId":"2","sourceId":"0285dc49-cc5c-4717-8ea2-45e50de2f65f"},"cx":\{"dateFirst":"20200420","dateLast":"20200420"}}
> [mxj142:Jars]$
> [mxj142:Jars]$
> [mxj142:Jars]$
> [mxj142:Jars]$
> [mxj142:Jars]$
> [mxj142:Jars]$ java -jar avro-tools-1.9.2.jar tojson records.avro
> 20/04/24 11:20:51 WARN util.NativeCodeLoader: Unable to load native-hadoop 
> library for your platform... using builtin-java classes where applicable
> Exception in thread "main" org.apache.avro.AvroTypeException: Invalid default 
> for field enrichmentHeader: null not a 
> \{"type":"record","name":"EnrichmentHeader","namespace":"com.mxj142.commons.domain","fields":[{"name":"correlationId","type":{"type":"string","avro.java.string":"String"}},\{"name":"sourceId","type":{"type":"string","avro.java.string":"String"}}]}
>  at org.apache.avro.Schema.validateDefault(Schema.java:1540)
>  at org.apache.avro.Schema.access$500(Schema.java:87)
>  at org.apache.avro.Schema$Field.(Schema.java:521)
>  at org.apache.avro.Schema.parse(Schema.java:1647)
>  at org.apache.avro.Schema$Parser.parse(Schema.java:1394)
>  at org.apache.avro.Schema$Parser.parse(Schema.java:1382)
>  at org.apache.avro.file.DataFileStream.initialize(DataFileStream.java:130)
>  at org.apache.avro.file.DataFileStream.(DataFileStream.java:90)
>  at org.apache.avro.tool.DataFileReadTool.run(DataFileReadTool.java:93)
>  at org.apache.avro.tool.Main.run(Main.java:66)
>  at org.apache.avro.tool.Main.main(Main.java:55)
> [mxj142:Jars]$
> --
>  
> The file "records.avro"  is generated using avro-1.8.2 .  It contains two  
> records  and using "avro-tools-1.8.2.jar"  one can read it.  If   we use   
> "avro-tools-1.9.2.jar", then "records.avro"  is not readable  (as shown 
> above).  The file "records.avro"  is also  attached for your convenience. 
>  
> Let me know if you need any more information.
>  
> Thanks,
> Manoj
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2800) Symbol values aren't validated in Ruby

2020-05-09 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2800:
--

Assignee: Chris Hoffman

> Symbol values aren't validated in Ruby
> --
>
> Key: AVRO-2800
> URL: https://issues.apache.org/jira/browse/AVRO-2800
> Project: Apache Avro
>  Issue Type: Bug
>  Components: ruby
>Reporter: Chris Hoffman
>Assignee: Chris Hoffman
>Priority: Minor
>
> Similar to https://issues.apache.org/jira/browse/AVRO-2645 symbol values 
> aren't validated according to the [A-Za-z_][A-Za-z0-9_]* regex provided by 
> the specification.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2800) Symbol values aren't validated in Ruby

2020-05-09 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2800.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Symbol values aren't validated in Ruby
> --
>
> Key: AVRO-2800
> URL: https://issues.apache.org/jira/browse/AVRO-2800
> Project: Apache Avro
>  Issue Type: Bug
>  Components: ruby
>Reporter: Chris Hoffman
>Assignee: Chris Hoffman
>Priority: Minor
> Fix For: 1.10.0
>
>
> Similar to https://issues.apache.org/jira/browse/AVRO-2645 symbol values 
> aren't validated according to the [A-Za-z_][A-Za-z0-9_]* regex provided by 
> the specification.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2785) Update specs on how unions encoded

2020-05-09 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2785.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Update specs on how unions encoded
> --
>
> Key: AVRO-2785
> URL: https://issues.apache.org/jira/browse/AVRO-2785
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: doc, spec
>Affects Versions: 1.9.2
>Reporter: Andy Le
>Assignee: Andy Le
>Priority: Major
> Fix For: 1.10.0
>
>
> h1. Overview
> This issue is associated with [our mailing 
> discussions|https://lists.apache.org/thread.html/r3f4b8b40ec9604e4f3854fb59f9219db9bbb58eebea4b9d2aa097688%40%3Cuser.avro.apache.org%3E]
> h1. Solution
> Update the Spec



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2785) Update specs on how unions encoded

2020-05-09 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2785:
--

Assignee: Andy Le

> Update specs on how unions encoded
> --
>
> Key: AVRO-2785
> URL: https://issues.apache.org/jira/browse/AVRO-2785
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: doc, spec
>Affects Versions: 1.9.2
>Reporter: Andy Le
>Assignee: Andy Le
>Priority: Major
>
> h1. Overview
> This issue is associated with [our mailing 
> discussions|https://lists.apache.org/thread.html/r3f4b8b40ec9604e4f3854fb59f9219db9bbb58eebea4b9d2aa097688%40%3Cuser.avro.apache.org%3E]
> h1. Solution
> Update the Spec



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2815) Update Python Documentation on how to test

2020-05-06 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2815:
--

Assignee: Fokko Driesprong

> Update Python Documentation on how to test
> --
>
> Key: AVRO-2815
> URL: https://issues.apache.org/jira/browse/AVRO-2815
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: Michael A. Smith
>Assignee: Fokko Driesprong
>Priority: Major
>
> The confluence page still says to use ant 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2815) Update Python Documentation on how to test

2020-05-06 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2815.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Update Python Documentation on how to test
> --
>
> Key: AVRO-2815
> URL: https://issues.apache.org/jira/browse/AVRO-2815
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: Michael A. Smith
>Assignee: Fokko Driesprong
>Priority: Major
> Fix For: 1.10.0
>
>
> The confluence page still says to use ant 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2802) Pre-Size List in AvroInputFormat Avro File Lookup

2020-05-04 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2802.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Pre-Size List in AvroInputFormat Avro File Lookup
> -
>
> Key: AVRO-2802
> URL: https://issues.apache.org/jira/browse/AVRO-2802
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: David Mollitor
>Assignee: David Mollitor
>Priority: Minor
> Fix For: 1.10.0
>
>
> {code:java}
> if (job.getBoolean(IGNORE_FILES_WITHOUT_EXTENSION_KEY, 
> IGNORE_INPUTS_WITHOUT_EXTENSION_DEFAULT)) {
>   List result = new ArrayList<>();
>   for (FileStatus file : super.listStatus(job))
> if (file.getPath().getName().endsWith(AvroOutputFormat.EXT))
>   result.add(file);
>   return result.toArray(new FileStatus[0]);
> } else {
>   return super.listStatus(job);
> }
> {code}
> When a user runs an Avro MR job against a directory, it silently filters out 
> files without an avro file extension. Fair enough.  However, anecdotally, 
> this is the primary use scenario, so this code probably does not filter out 
> many files.
> I suggest that this {{ArrayList}} be pre-sized.  If there are a lot of files, 
> and all of them have the avro file extension (base case), this {{ArrayList}} 
> will had to be expanded multiple times (time and GC).  If there is a large 
> list and it gets filtered down a lot, a few hundred bytes are wasted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AVRO-2535) Ruby support for enum defaults

2020-05-03 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong updated AVRO-2535:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Ruby support for enum defaults
> --
>
> Key: AVRO-2535
> URL: https://issues.apache.org/jira/browse/AVRO-2535
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: ruby
>Affects Versions: 1.9.0
>Reporter: Tim Perkins
>Assignee: Tim Perkins
>Priority: Minor
> Fix For: 1.10.0
>
>
> Avro v1.9.0 introduced defaults for enum types 
> (https://issues.apache.org/jira/browse/AVRO-1340).
> This issue is to add support for enum defaults to the Ruby implementation.
> The current enum handling in the Ruby implementation does not follow the 
> spec. If a writer's symbol is unknown to the reader, then the writer's symbol 
> is still returned. 
> I don't plan on breaking that behavior, but if a default is specified for the 
> enum type then that will be returned instead of the unknown writer's symbol.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2819) Add BigInteger and BigDecimal support for JacksonUtils

2020-05-03 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2819.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Add BigInteger and BigDecimal support for JacksonUtils
> --
>
> Key: AVRO-2819
> URL: https://issues.apache.org/jira/browse/AVRO-2819
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.9.2
>Reporter: Zezeng Wang
>Assignee: Zezeng Wang
>Priority: Minor
> Fix For: 1.10.0
>
>
> this change is relatively small, so I didn't submit a issue in jira.
> It allows JacksonUtils.toJsonNode(Object datum) receive type BigInteger and 
> BigDecimal.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2790) Necessity of using Object as parameter of javaEscape method

2020-04-26 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2790.

Resolution: Fixed

> Necessity of using Object as parameter of javaEscape method
> ---
>
> Key: AVRO-2790
> URL: https://issues.apache.org/jira/browse/AVRO-2790
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.9.2
>Reporter: Zezeng Wang
>Assignee: Zezeng Wang
>Priority: Minor
> Fix For: 1.10.0
>
>
> Hi,
> The 
> [javaEscape|https://github.com/apache/avro/blob/c81ea58c601a2f600d9d45cf50b9f6434b911d5a/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler.java#L976]
>  method in *SpecificCompiler* is a utility used by templates. Escaping quotes 
> and backslashes, which means it's dealing with strings.
>  And I checked the caller 
> ([enum.vm|https://github.com/apache/avro/blob/c81ea58c601a2f600d9d45cf50b9f6434b911d5a/lang/java/compiler/src/main/velocity/org/apache/avro/compiler/specific/templates/java/classic/enum.vm#L31],
>  
> [fixed.vm|https://github.com/apache/avro/blob/master/lang/java/compiler/src/main/velocity/org/apache/avro/compiler/specific/templates/java/classic/fixed.vm#L31])
>  of javaEscape, all passed in as java.lang.String,
>  So I'm sure this should use java.lang.String as the input parameter and 
> remove unnecessary Object.toString operations.
>  
> Cheers,
>  Ze Zeng



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AVRO-2813) Add cppcheck as a C++ linter

2020-04-26 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong updated AVRO-2813:
---
Fix Version/s: 1.10.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> Add cppcheck as a C++ linter
> 
>
> Key: AVRO-2813
> URL: https://issues.apache.org/jira/browse/AVRO-2813
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: c++
>Reporter: Kengo Seki
>Assignee: Kengo Seki
>Priority: Major
> Fix For: 1.10.0
>
>
> Avro C++ doesn't have a linter feature for now, so let's add it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2811) Upgrade grpc 1.26 to 1.28

2020-04-26 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2811:
--

Assignee: Zezeng Wang

> Upgrade grpc 1.26 to 1.28
> -
>
> Key: AVRO-2811
> URL: https://issues.apache.org/jira/browse/AVRO-2811
> Project: Apache Avro
>  Issue Type: Task
>Affects Versions: 1.9.2
>Reporter: Zezeng Wang
>Assignee: Zezeng Wang
>Priority: Major
> Fix For: 1.10.0
>
>
> In netty 1.26 there are bugs that need attention.
> Eg: [Deadlock on start gRPC 
> server|https://github.com/grpc/grpc-java/issues/6601]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2811) Upgrade grpc 1.26 to 1.28

2020-04-26 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2811.

Fix Version/s: (was: 1.9.3)
   1.10.0
   Resolution: Fixed

> Upgrade grpc 1.26 to 1.28
> -
>
> Key: AVRO-2811
> URL: https://issues.apache.org/jira/browse/AVRO-2811
> Project: Apache Avro
>  Issue Type: Task
>Affects Versions: 1.9.2
>Reporter: Zezeng Wang
>Priority: Major
> Fix For: 1.10.0
>
>
> In netty 1.26 there are bugs that need attention.
> Eg: [Deadlock on start gRPC 
> server|https://github.com/grpc/grpc-java/issues/6601]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AVRO-2816) Remove duplicated Perl library from Dockerfile

2020-04-26 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong updated AVRO-2816:
---
Fix Version/s: 1.10.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> Remove duplicated Perl library from Dockerfile
> --
>
> Key: AVRO-2816
> URL: https://issues.apache.org/jira/browse/AVRO-2816
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: docker, perl
>Reporter: Kengo Seki
>Assignee: Kengo Seki
>Priority: Trivial
> Fix For: 1.10.0
>
>
> Test::Pod module is installed twice in the Dockerfile. Removing either of 
> them might save the CI time a bit.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2704) Cache Hashcode of UTF8 Strings

2020-04-22 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2704.

Resolution: Fixed

> Cache Hashcode of UTF8 Strings
> --
>
> Key: AVRO-2704
> URL: https://issues.apache.org/jira/browse/AVRO-2704
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: David Mollitor
>Assignee: David Mollitor
>Priority: Minor
> Fix For: 1.10.0
>
>
> Cache computed hash value for {{Utf8}} string instead of computing it every 
> time it is required.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2801) Cache Hashcode of UTF8 Strings in all Set Methods

2020-04-22 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2801.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Cache Hashcode of UTF8 Strings in all Set Methods
> -
>
> Key: AVRO-2801
> URL: https://issues.apache.org/jira/browse/AVRO-2801
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: David Mollitor
>Assignee: David Mollitor
>Priority: Minor
> Fix For: 1.10.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2765) dump command in avro-python3 tool module fails

2020-04-22 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2765.

Fix Version/s: 1.10.0
 Assignee: Michael A. Smith
   Resolution: Fixed

> dump command in avro-python3 tool module fails
> --
>
> Key: AVRO-2765
> URL: https://issues.apache.org/jira/browse/AVRO-2765
> Project: Apache Avro
>  Issue Type: Bug
>  Components: python, tools
>Affects Versions: 1.9.2
>Reporter: Olaf
>Assignee: Michael A. Smith
>Priority: Minor
> Fix For: 1.10.0
>
>
> Trying to dump an Avro file with the python3 tool command:
> {quote}{{> python3 -m *avro.tool* dump test.avro}}
> {quote}
> fails on:
> {quote}{{NameError: name 'file' is not defined}}
> {quote}
> This needs fixing by changing line 105 of avro/tool.py from:
> {quote}{{return *file*(f)}}
> {quote}
> into:
> {quote}{{return *open*(f, 'rb')}}
> {quote}
> This affects (most recent) Python3 {{_avro-python3_}} PyPI version 1.9.2.1. 
> Didn't check whether older Python3 versions and Python2 {{_avro_}} PyPI 
> version suffer from the same issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AVRO-2791) Fix lang/py3/build.sh to process each argument separately

2020-04-11 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong updated AVRO-2791:
---
Fix Version/s: 1.10.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> Fix lang/py3/build.sh to process each argument separately
> -
>
> Key: AVRO-2791
> URL: https://issues.apache.org/jira/browse/AVRO-2791
> Project: Apache Avro
>  Issue Type: Bug
>  Components: build, python
>Reporter: Kengo Seki
>Assignee: Kengo Seki
>Priority: Minor
> Fix For: 1.10.0
>
>
> I ran {{./build.sh clean test}} in the lang/py3 directory and came across the 
> following error:
> {code}
> $ ./build.sh docker
> sekikn@2241fc3fd5a3:~/avro$ cd lang/py3
> sekikn@2241fc3fd5a3:~/avro/lang/py3$ ./build.sh clean test
> running clean
> removing 'avro_python3.egg-info' (and everything under it)
> Removing /home/sekikn/avro/lang/py3/avro/VERSION.txt
> removing '/home/sekikn/avro/lang/py3/avro/__pycache__' (and everything under 
> it)
> Removing /home/sekikn/avro/lang/py3/avro/HandshakeResponse.avsc
> Removing /home/sekikn/avro/lang/py3/avro/HandshakeRequest.avsc
> removing '/home/sekikn/avro/lang/py3/avro/tests/__pycache__' (and everything 
> under it)
> Removing /home/sekikn/avro/lang/py3/avro/tests/interop.avsc
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> creating avro_python3.egg-info
> writing avro_python3.egg-info/PKG-INFO
> writing requirements to avro_python3.egg-info/requires.txt
> writing dependency_links to avro_python3.egg-info/dependency_links.txt
> writing top-level names to avro_python3.egg-info/top_level.txt
> writing manifest file 'avro_python3.egg-info/SOURCES.txt'
> reading manifest file 'avro_python3.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'avro/HandshakeRequest.avsc'
> warning: no files found matching 'avro/HandshakeResponse.avsc'
> warning: no files found matching 'avro/VERSION.txt'
> writing manifest file 'avro_python3.egg-info/SOURCES.txt'
> running build_ext
> error: [Errno 2] No such file or directory: 
> '/home/sekikn/avro/lang/py3/avro/VERSION.txt'
> {code}
> This is because the main function is implemented as follows. If the arguments 
> {{clean test}} are passed to that function, a single command {{python3 
> setup.py clean test}} is called.
> Instead, it should call {{setup.py}} for each argument in the for-loop.
> {code}
> main() {
>   (snip)
>   for target; do
> case "$target" in
>   lint) set -- isort "$@";;
>   clean|dist|isort|test) :;;
>   *) usage; return 1;;
> esac
>   done
>   python3 setup.py "$@"
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2749) The Avro ruby gem is unable to encode hashes with non-string keys

2020-04-11 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2749.

Fix Version/s: 1.10.0
   Resolution: Fixed

> The Avro ruby gem is unable to encode hashes with non-string keys
> -
>
> Key: AVRO-2749
> URL: https://issues.apache.org/jira/browse/AVRO-2749
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: ruby
>Affects Versions: 1.9.2
>Reporter: Justin Lambert
>Priority: Major
> Fix For: 1.10.0
>
>
> When trying to encode a ruby hash which uses symbols, an error is raised 
> because the key lookup is expecting a string only.
> {code:java}
> { id: 4, name: "foo"} =>
> The datum nil is not an example of schema "long" 
> (Avro::IO::AvroTypeError){code}
> This error is a bit cryptic and since ruby supports all simple data types as 
> hash keys, all keys should be converted to strings before encoding.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2749) The Avro ruby gem is unable to encode hashes with non-string keys

2020-04-11 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2749:
--

Assignee: Justin Lambert

> The Avro ruby gem is unable to encode hashes with non-string keys
> -
>
> Key: AVRO-2749
> URL: https://issues.apache.org/jira/browse/AVRO-2749
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: ruby
>Affects Versions: 1.9.2
>Reporter: Justin Lambert
>Assignee: Justin Lambert
>Priority: Major
> Fix For: 1.10.0
>
>
> When trying to encode a ruby hash which uses symbols, an error is raised 
> because the key lookup is expecting a string only.
> {code:java}
> { id: 4, name: "foo"} =>
> The datum nil is not an example of schema "long" 
> (Avro::IO::AvroTypeError){code}
> This error is a bit cryptic and since ruby supports all simple data types as 
> hash keys, all keys should be converted to strings before encoding.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Reopened] (AVRO-2704) Cache Hashcode of UTF8 Strings

2020-04-06 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reopened AVRO-2704:


> Cache Hashcode of UTF8 Strings
> --
>
> Key: AVRO-2704
> URL: https://issues.apache.org/jira/browse/AVRO-2704
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: David Mollitor
>Assignee: David Mollitor
>Priority: Minor
> Fix For: 1.10.0
>
>
> Cache computed hash value for {{Utf8}} string instead of computing it every 
> time it is required.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2704) Cache Hashcode of UTF8 Strings

2020-04-04 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2704.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Cache Hashcode of UTF8 Strings
> --
>
> Key: AVRO-2704
> URL: https://issues.apache.org/jira/browse/AVRO-2704
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: David Mollitor
>Assignee: David Mollitor
>Priority: Minor
> Fix For: 1.10.0
>
>
> Cache computed hash value for {{Utf8}} string instead of computing it every 
> time it is required.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2701) Add JMH BlackHole to RecordTest

2020-03-29 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2701.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Add JMH BlackHole to RecordTest
> ---
>
> Key: AVRO-2701
> URL: https://issues.apache.org/jira/browse/AVRO-2701
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: David Mollitor
>Assignee: David Mollitor
>Priority: Minor
> Fix For: 1.10.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2700) Change Java Collection Usage

2020-03-29 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2700.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Change Java Collection Usage
> 
>
> Key: AVRO-2700
> URL: https://issues.apache.org/jira/browse/AVRO-2700
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: David Mollitor
>Assignee: David Mollitor
>Priority: Minor
> Fix For: 1.10.0
>
>
> * Use {{HashMap}} instead of {{LinkedHashMap}} when there's not iteration of 
> the collection involved.  Other there is needless overhead of maintaining 
> order.
> * Use {{Collections.emptyMap}} when an empty map is required
> * Use {{computeIfAbsent}}
> * Other related minor cleanup



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2698) Improve and Add Test for skipLong Method

2020-03-29 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2698.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Improve and Add Test for skipLong Method
> 
>
> Key: AVRO-2698
> URL: https://issues.apache.org/jira/browse/AVRO-2698
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: David Mollitor
>Assignee: David Mollitor
>Priority: Minor
> Fix For: 1.10.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2696) Improve Avro Double and Float Encode Performance

2020-03-29 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2696.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Improve Avro Double and Float Encode Performance
> 
>
> Key: AVRO-2696
> URL: https://issues.apache.org/jira/browse/AVRO-2696
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: David Mollitor
>Assignee: David Mollitor
>Priority: Minor
> Fix For: 1.10.0
>
>
> I was looking at how Avro encodes Doubles and Floats and comparing it to 
> Java's.
> So, I checked it out and found that the Java version for Floats is faster 
> than Avro using the Avro perf tests:
> {code}
> # Avro Impl
> FloatTest.encode  thrpt3  273709210.133 ± 49629107.871  ops/s
> FloatTest.encode  thrpt3  271515727.631 ± 57405372.266  ops/s
> # Java Impl
> FloatTest.encode  thrpt3  278234438.923 ± 34633982.243  ops/s
> FloatTest.encode  thrpt3  284801936.136 ± 52273884.157  ops/s
> {code}
> Interestingly, I wasn't able to reproduce this gain with Doubles.  Avro's 
> version was faster.  However, we can remove the bitwise mask (Java doesn't 
> bother to do it).
> https://github.com/openjdk/jdk/blob/6bab0f539fba8fb441697846347597b4a0ade428/src/java.base/share/classes/java/io/Bits.java#L105



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2694) Simplify Comparison Check in Resolver

2020-03-29 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2694.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Simplify Comparison Check in Resolver
> -
>
> Key: AVRO-2694
> URL: https://issues.apache.org/jira/browse/AVRO-2694
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: David Mollitor
>Assignee: David Mollitor
>Priority: Minor
> Fix For: 1.10.0
>
>
> For example:
> {code:java|title=Resolver.java}
> case ENUM: {
>   final List ws = write.getEnumSymbols();
>   final List rs = read.getEnumSymbols();
>   if (ws.size() != rs.size()) {
> return false;
>   }
>   int i = 0;
>   for (; i < ws.size(); i++) {
> if (!ws.get(i).equals(rs.get(i))) {
>   break;
> }
>   }
>   return i == ws.size();
> }
> {code}
> This can just be replaced with {{ws.equals(ra)}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AVRO-2758) Bump istanbul to 0.4.5

2020-02-28 Thread Fokko Driesprong (Jira)

 [ 
https://issues.apache.org/jira/browse/AVRO-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong updated AVRO-2758:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Bump istanbul to 0.4.5
> --
>
> Key: AVRO-2758
> URL: https://issues.apache.org/jira/browse/AVRO-2758
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: js
>Affects Versions: 1.9.2
>Reporter: Kengo Seki
>Assignee: Kengo Seki
>Priority: Major
> Fix For: 1.10.0, 1.9.3
>
>
> As reported in AVRO-2642, istanbul 0.4.4 or earlier has some vulnerabilities 
> as follows:
> {code}
> sekikn@0327d61710c0:~/avro/lang/js$ grep istanbul package.json 
> "cover": "istanbul cover _mocha -- -f interop -i",
> "istanbul": "^0.3.19",
> sekikn@0327d61710c0:~/avro/lang/js$ npm i
> audited 361 packages in 1.044s
> 4 packages are looking for funding
>   run `npm fund` for details
> found 3 vulnerabilities (1 moderate, 2 high)
>   run `npm audit fix` to fix them, or `npm audit` for details
> sekikn@0327d61710c0:~/avro/lang/js$ npm audit
>   
>   
>=== npm audit security report ===  
>   
>   
>   
> ┌──┐
> │Manual Review
>  │
> │Some vulnerabilities require your attention to resolve   
>  │
> │ 
>  │
> │ Visit https://go.npm.me/audit-guide for additional guidance 
>  │
> └──┘
> ┌───┬──┐
> │ High  │ Regular Expression Denial of Service
>  │
> ├───┼──┤
> │ Package   │ minimatch   
>  │
> ├───┼──┤
> │ Patched in│ >=3.0.2 
>  │
> ├───┼──┤
> │ Dependency of │ istanbul [dev]  
>  │
> ├───┼──┤
> │ Path  │ istanbul > fileset > minimatch  
>  │
> ├───┼──┤
> │ More info │ https://npmjs.com/advisories/118
>  │
> └───┴──┘
> ┌───┬──┐
> │ Moderate  │ Denial of Service   
>  │
> ├───┼──┤
> │ Package   │ js-yaml 
>  │
> ├───┼──┤
> │ Patched in│ >=3.13.0
>  │
> ├───┼──┤
> │ Dependency of │ istanbul [dev]  
>  │
> ├───┼──┤
> │ Path  │ istanbul > js-yaml  
>  │
> ├───┼──┤
> │ More info │ https://npmjs.com/advisories/788
>  │
> └───┴──┘
> ┌───┬──┐
> │ High  │ Code Injection  
>  │
> ├───┼──┤
> │ Package   │ js-yaml 
>  │
> ├───┼──┤
> │ Patched in│ >=3.13.1
>  │
> ├───┼──┤
> │ Dependency of │ istanbul [dev]  
>  │
> ├───┼──┤
> │ Path  │ istanbul 

[jira] [Assigned] (AVRO-2754) Add support for UUID logical types in C#

2020-02-24 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2754:
--

Assignee: Matthew Kellogg

> Add support for UUID logical types in C#
> 
>
> Key: AVRO-2754
> URL: https://issues.apache.org/jira/browse/AVRO-2754
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: csharp
>Affects Versions: 1.9.2
>Reporter: Matthew Kellogg
>Assignee: Matthew Kellogg
>Priority: Minor
>
> Add support for UUID logical types to the C# library
>  * Codegen should generate Guid fields/properties
>  * Base schema type is a string with the guid encoded in RFC 4122 format 
> (Guid.ToString() does this by default)
>  * Ensure nullable is supported properly



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2754) Add support for UUID logical types in C#

2020-02-24 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2754.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Add support for UUID logical types in C#
> 
>
> Key: AVRO-2754
> URL: https://issues.apache.org/jira/browse/AVRO-2754
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: csharp
>Affects Versions: 1.9.2
>Reporter: Matthew Kellogg
>Assignee: Matthew Kellogg
>Priority: Minor
> Fix For: 1.10.0
>
>
> Add support for UUID logical types to the C# library
>  * Codegen should generate Guid fields/properties
>  * Base schema type is a string with the guid encoded in RFC 4122 format 
> (Guid.ToString() does this by default)
>  * Ensure nullable is supported properly



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AVRO-2755) Add I/O tests for the TimestampMillis logical type to Ruby

2020-02-23 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong updated AVRO-2755:
---
Fix Version/s: 1.10.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> Add I/O tests for the TimestampMillis logical type to Ruby
> --
>
> Key: AVRO-2755
> URL: https://issues.apache.org/jira/browse/AVRO-2755
> Project: Apache Avro
>  Issue Type: Test
>  Components: ruby
>Reporter: Kengo Seki
>Assignee: Kengo Seki
>Priority: Major
> Fix For: 1.10.0
>
>
> The {{test_record_with_logical_type}} test case in 
> {{lang/ruby/test/test_io.rb}} checks several operations, but it only does 
> them for {{TimestampMicros}}. Those checks also should be done for 
> {{TimestampMillis}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AVRO-2756) Ruby should test all schema fingerprints defined in share/test/data/schema-tests.txt

2020-02-23 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong updated AVRO-2756:
---
Fix Version/s: 1.10.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> Ruby should test all schema fingerprints defined in 
> share/test/data/schema-tests.txt
> 
>
> Key: AVRO-2756
> URL: https://issues.apache.org/jira/browse/AVRO-2756
> Project: Apache Avro
>  Issue Type: Test
>  Components: ruby
>Reporter: Kengo Seki
>Assignee: Kengo Seki
>Priority: Major
> Fix For: 1.10.0
>
>
> The C# and Java bindings check all fingerprints defined in 
> share/test/data/schema-tests.txt in addition to canonical forms. The Ruby 
> bindings should do the same check for ensuring its interoperability.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2692) Do Not Access Map Twice in LogicalTypes

2020-02-19 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2692.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Do Not Access Map Twice in LogicalTypes
> ---
>
> Key: AVRO-2692
> URL: https://issues.apache.org/jira/browse/AVRO-2692
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: David Mollitor
>Assignee: David Mollitor
>Priority: Minor
> Fix For: 1.10.0
>
>
> https://github.com/apache/avro/blob/84b056c2adc069cf31f3b4d3c9337cb7cdaa58d6/lang/java/avro/src/main/java/org/apache/avro/LogicalTypes.java#L102-L107
> {code:java|title=LogicalTypes.java}
> final LogicalTypeFactory typeFactory = REGISTERED_TYPES.get(typeName);
> if (typeFactory != null) {
>   logicalType = REGISTERED_TYPES.get(typeName).fromSchema(schema);
> } else {
>   logicalType = null;
> }
> {code}
> The {{typeFactory}} is already obtained from the map on the first line, no 
> need to go back to the map again to {{get}} it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2747) setup_requires breaks install behind proxy

2020-02-19 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2747.

Fix Version/s: 1.10.0
   Resolution: Fixed

> setup_requires breaks install behind proxy
> --
>
> Key: AVRO-2747
> URL: https://issues.apache.org/jira/browse/AVRO-2747
> Project: Apache Avro
>  Issue Type: Bug
>  Components: python
>Affects Versions: 1.9.2
>Reporter: Bernat Gabor
>Assignee: Michael A. Smith
>Priority: Major
> Fix For: 1.10.0
>
>
> 1.9.2 adds two setup_requires dependencies; these are served by using the 
> easy_install system that has a different index server configuration than pip; 
> this means that a previously working ``pip -i 
> [http://a.index.server/simple]`` now breaks. Add the pyproject.toml as per 
> PEP-517 and PEP-518 to give a chance to pip to provide these dependencies.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2747) setup_requires breaks install behind proxy

2020-02-19 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2747:
--

Assignee: Michael A. Smith

> setup_requires breaks install behind proxy
> --
>
> Key: AVRO-2747
> URL: https://issues.apache.org/jira/browse/AVRO-2747
> Project: Apache Avro
>  Issue Type: Bug
>  Components: python
>Affects Versions: 1.9.2
>Reporter: Bernat Gabor
>Assignee: Michael A. Smith
>Priority: Major
>
> 1.9.2 adds two setup_requires dependencies; these are served by using the 
> easy_install system that has a different index server configuration than pip; 
> this means that a previously working ``pip -i 
> [http://a.index.server/simple]`` now breaks. Add the pyproject.toml as per 
> PEP-517 and PEP-518 to give a chance to pip to provide these dependencies.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2716) Unused local variable

2020-02-11 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2716.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Unused local variable
> -
>
> Key: AVRO-2716
> URL: https://issues.apache.org/jira/browse/AVRO-2716
> Project: Apache Avro
>  Issue Type: Bug
>Affects Versions: 1.9.1
>Reporter: Zoltan Farkas
>Priority: Minor
> Fix For: 1.10.0
>
>
> there is a unused local variable at:
> https://github.com/apache/avro/blob/master/lang/java/avro/src/main/java/org/apache/avro/Resolver.java#L233



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2732) Docker image build is broken on master

2020-02-11 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2732.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Docker image build is broken on master
> --
>
> Key: AVRO-2732
> URL: https://issues.apache.org/jira/browse/AVRO-2732
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: docker
>Reporter: Ismaël Mejía
>Assignee: Ismaël Mejía
>Priority: Minor
> Fix For: 1.10.0
>
>
> It seems we had the bad luck that our Dockerfile building/validation image got
> broken because of a change in its upstream parent image openjdk:11 that was 
> upgraded
> to the latest version of its parent version (debian:stable). Debian stable 
> does
> not include Java 8 anymore, so when you build the image (as I did to validate
> the release) it is broken.
> We should fix this by installing Java 'manually' in the docker image. To avoid
> this kind of breakages in the future we should only rely on a pinned OS image
> and install all dev dependencies from there probably install Java.
> There are also some additional warnings that it would be good to fix, e.g. 
> apt-utils and wheel in pip upgrade.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2693) Upgrade lang/csharp to dotnet core 3.1 (LTS)

2020-02-10 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2693.

Fix Version/s: 1.10.0
   Resolution: Fixed

> Upgrade lang/csharp to dotnet core 3.1 (LTS)
> 
>
> Key: AVRO-2693
> URL: https://issues.apache.org/jira/browse/AVRO-2693
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: Zoltan Csizmadia
>Assignee: Zoltan Csizmadia
>Priority: Minor
> Fix For: 1.10.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> netcoreapp2.2 is EOL. 
> [https://dotnet.microsoft.com/platform/support/policy/dotnet-core]
> Upgrade to 3.1 LTS (3.1.100)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2693) Upgrade lang/csharp to dotnet core 3.1 (LTS)

2020-02-10 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2693:
--

Assignee: Zoltan Csizmadia

> Upgrade lang/csharp to dotnet core 3.1 (LTS)
> 
>
> Key: AVRO-2693
> URL: https://issues.apache.org/jira/browse/AVRO-2693
> Project: Apache Avro
>  Issue Type: Improvement
>Reporter: Zoltan Csizmadia
>Assignee: Zoltan Csizmadia
>Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> netcoreapp2.2 is EOL. 
> [https://dotnet.microsoft.com/platform/support/policy/dotnet-core]
> Upgrade to 3.1 LTS (3.1.100)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-1321) Avro-ipc-tests in compile scope instead of test in Avro-mapred

2020-02-10 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-1321.

Resolution: Fixed

> Avro-ipc-tests in compile scope instead of test in Avro-mapred
> --
>
> Key: AVRO-1321
> URL: https://issues.apache.org/jira/browse/AVRO-1321
> Project: Apache Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.7.3
>Reporter: Benyi Wang
>Priority: Trivial
>
> org.apache.avro:avro-ipc:1.7.3:tests is listed in "compile" scope instead of 
> "test" scope.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (AVRO-2031) GenericData.writeEscapedString should be static

2020-02-06 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AVRO-2031.

Fix Version/s: 1.10.0
   Resolution: Fixed

> GenericData.writeEscapedString should be static
> ---
>
> Key: AVRO-2031
> URL: https://issues.apache.org/jira/browse/AVRO-2031
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.1
>Reporter: Zoltan Farkas
>Assignee: Rabi Kumar K C
>Priority: Trivial
> Fix For: 1.10.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (AVRO-2031) GenericData.writeEscapedString should be static

2020-02-06 Thread Fokko Driesprong (Jira)


[ 
https://issues.apache.org/jira/browse/AVRO-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17031388#comment-17031388
 ] 

Fokko Driesprong commented on AVRO-2031:


[~rabikumar.kc] I've added you as a contributor to the project, and assigned 
the ticket to you.

> GenericData.writeEscapedString should be static
> ---
>
> Key: AVRO-2031
> URL: https://issues.apache.org/jira/browse/AVRO-2031
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.1
>Reporter: Zoltan Farkas
>Assignee: Rabi Kumar K C
>Priority: Trivial
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (AVRO-2031) GenericData.writeEscapedString should be static

2020-02-06 Thread Fokko Driesprong (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong reassigned AVRO-2031:
--

Assignee: Rabi Kumar K C

> GenericData.writeEscapedString should be static
> ---
>
> Key: AVRO-2031
> URL: https://issues.apache.org/jira/browse/AVRO-2031
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.1
>Reporter: Zoltan Farkas
>Assignee: Rabi Kumar K C
>Priority: Trivial
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


  1   2   3   4   5   >