Re: Avro Docs - lots of 404 errors // AVRO-4041

2024-09-09 Thread Martin Grigorov
Hi Robin, On Mon, Sep 2, 2024 at 1:15 PM Robin Moffatt wrote: > Thanks for fixing this Fokko and Martin. > > The previous URL https://avro.apache.org/docs/current/ does now work, but > redirects to /docs/++version++/ on which the title is Apache Avro™ > ++version++ Documentation. > Not sure if t

Re: Formal spec for Avro Schema

2024-05-15 Thread Martin Grigorov
: > I note that the enum type appears to be missing the specification of the > default attribute. > > On Wed, 15 May 2024 at 08:26, Martin Grigorov > wrote: > >> Hi Clemens, >> >> What is the difference between your document and the specification [1] ? >>

Re: Formal spec for Avro Schema

2024-05-15 Thread Martin Grigorov
o add a second document that is very similar to the specification but uses a different language style. To me this looks like a duplication. IMO it would be better to suggest (many) (smaller) improvements for the existing document. > > Best Regards > Clemens > > -Original M

Re: Formal spec for Avro Schema

2024-05-15 Thread Martin Grigorov
Hi Clemens, What is the difference between your document and the specification [1] ? I haven't read it completely but it looks very similar to the specification to me. 1. https://avro.apache.org/docs/1.11.1/specification/ 2. https://github.com/apache/avro/tree/main/doc/content/en/docs/%2B%2Bversi

Re: avro_schema_from_json return code 22

2024-02-09 Thread Martin Grigorov
Hi, Error 22 in Linux is EINVAL - Invalid argument Martin On Fri, Feb 9, 2024 at 5:21 PM Alfredo Cardigliano wrote: > Hi > I am integrating Avro in an application, using avro_schema_from_json to > parse the schema, > while this function is working fine when compiling a C sample application, >

Re: Avro query on Testing if Beta feature of Generating faster code is enabled

2024-02-06 Thread Martin Grigorov
improvements > before/after? > You can run your favorite profiler with your application. > > sincerely > Chirag Nahata > > On Tue, Feb 6, 2024 at 5:03 PM Martin Grigorov > wrote: > >> >> >> On Tue, Feb 6, 2024 at 1:15 PM Siddharth Baranidharan >>

Re: Avro query on Testing if Beta feature of Generating faster code is enabled

2024-02-06 Thread Martin Grigorov
On Tue, Feb 6, 2024 at 1:15 PM Siddharth Baranidharan wrote: > Hey Oscar, > Thank you for your response. > My application is an enterprise server(java based)-agent(python based) > model which uses avro-protocol for communication between server & agents. > To the best of my knowledge I have added

Re: [Java] Avro does not respect logicalType with map type

2024-02-06 Thread Martin Grigorov
Hi, On Fri, Feb 2, 2024 at 11:37 AM Dupa Trianko wrote: > I have lib class Dimension3D which contains 3 fields and I want to convert > it as one avro filed. > > My definition of logical type connected classes: > public class Dim3AvroLogicalType { > > public static final String LOGICAL_TYPE_N

Re: Avro schema evolution support in AVRO CPP

2024-01-12 Thread Martin Grigorov
Hi Vivek, I am not sure there is anyone to give you an exact answer. The C++ SDK has not been actively developed in the last few years. The best is to try it for your use cases and see if it works or not. The next step is to contribute Pull Requests for the missing functionalities! Martin On Thu

Re: Subscribe to Avro users mailing list

2023-03-10 Thread Martin Grigorov
Hi, I didn't notice an email to be moderated, so I guess you are already subscribed. Feel free to start new topics/threads and ask any questions! On Fri, Mar 10, 2023 at 11:31 AM Abhishek Dasgupta < abhishekdasgupta...@gmail.com> wrote: > Hi Team, > I would like to ask questions. >

Re: Ints & Bools Issue

2023-01-23 Thread Martin Grigorov
Hello David, Please file a ticket at JIRA for this problem. And attach or link to a a mini application demonstrating the problem. I assume the bug is in the C++ code, since the Java SDK is more widely used. On Mon, Jan 23, 2023 at 5:28 AM David Funnell wrote: > Hello, > > My coworker and I are

Re: Rust Serde Deserialize

2022-08-30 Thread Martin Grigorov
https://github.com/lerouxrgd/rsgen-avro/pull/36 On Tue, Aug 30, 2022 at 9:07 AM Martin Grigorov wrote: > Hi Rajiv, > > Now, when you said it I remembered about this prerequisite for serializing > bytes. > I will open a PR to rsgen-avro to add #[serde(with = "serde_bytes"

Re: Rust Serde Deserialize

2022-08-29 Thread Martin Grigorov
s.rs/serde_bytes/latest/serde_bytes/ > > On Mon, Aug 29, 2022 at 5:18 PM Rajiv M Ranganath > wrote: > > > > On Mon, Aug 29, 2022 at 3:18 PM Martin Grigorov > wrote: > > > > [...] > > > > > Do you want to contribute the code as a failing unit test in a Pull > > > Request ? > > > With a fix would be awesome! > > > > Okay. Please give me a couple of days. I'll investigate and open a PR. > > > > Best, > > Rajiv >

Re: Rust Serde Deserialize

2022-08-29 Thread Martin Grigorov
gt; > On Mon, Aug 29, 2022 at 1:43 PM Martin Grigorov > wrote: > > [...] > > > I'd recommend you this nice tool for generating Rust structs from Avro > > schema: https://github.com/lerouxrgd/rsgen-avro > > Thanks for the reply and the pointer to `rsgen-avro`. :

Re: Rust Serde Deserialize

2022-08-29 Thread Martin Grigorov
Hi Rajiv, I'd recommend you this nice tool for generating Rust structs from Avro schema: https://github.com/lerouxrgd/rsgen-avro $ cat q.avsc 1 │ { 2 │ "type": "record", 3 │ "name": "Abcd", 4 │ "fields": [ 5 │ {"name": "b", "type": ["null", "bytes"], "default":

Re: Unable to resolve NettyTransceiver/ NettyServer (Netty based classes) in avro-ipc 1.11.0

2022-05-18 Thread Martin Grigorov
On Wed, May 18, 2022 at 6:11 PM Martin Grigorov > wrote: > >> Hi, >> >> You need to use >> https://search.maven.org/artifact/org.apache.avro/avro-ipc-netty/1.11.0/bundle >> instead. >> >> >> On Wed, May 18, 2022 at 2:41 PM Abhishek Dasgupta &

Re: Unable to resolve NettyTransceiver/ NettyServer (Netty based classes) in avro-ipc 1.11.0

2022-05-18 Thread Martin Grigorov
Hi, You need to use https://search.maven.org/artifact/org.apache.avro/avro-ipc-netty/1.11.0/bundle instead. On Wed, May 18, 2022 at 2:41 PM Abhishek Dasgupta < abhishekdasgupta...@gmail.com> wrote: > > > > Hi, > I am solving this CVE-2021-43045 in my project. I am upgrading Avro and > Avro-ip

Re: Gigantic list of Avro spec issues

2022-02-17 Thread Martin Grigorov
On Fri, Feb 18, 2022 at 5:00 AM Askar Safin wrote: > > By the way, we have what we believe to be the most correct and complete > Rust > > implementation of Avro here: > > https://github.com/MaterializeInc/materialize/tree/main/src/avro > Hi. I spent a lot of time searching for perfect Avro implem

Re: UUID Logical type not working in Java

2022-01-14 Thread Martin Grigorov
Hi, Which version of Avro do you use ? Which language ? If Java, then please try 1.12.0-SNAPSHOT from https://repository.apache.org/content/groups/snapshots/ If it still does not work then please show us your schema or even better create a reproducer and share it with us, e.g. at Github. On Fri,

Re: Papers discussing Apache Avro

2022-01-14 Thread Martin Grigorov
Hi Juan, Thank you for sharing your work with us! It comes right in time for me! I am working on the interop tests for the new Rust module and it seems there is some problem to read the .avro files generated by Java. I may need to dive in the binary diffs. Regards, Martin On Thu, Jan 13, 2022 a

Re: Serialization with optional fields using C++ library

2021-12-22 Thread Martin Grigorov
Hi Anton, I don't see any unit tests / examples for this at https://github.com/apache/avro/tree/master/lang/c%2B%2B/ test|examples, so I guess it is not implemented yet. You could add an entry for basicSchemas ( https://github.com/apache/avro/blob/1aa963c44d1b9da3dfcf74acb3eeed56439332a0/lang/c%2B

Re: New website

2021-12-13 Thread Martin Grigorov
On Mon, Dec 13, 2021 at 9:38 AM Martin Grigorov wrote: > Hi Ryan, > > On Sun, Dec 12, 2021 at 1:36 PM Ryan Skraba wrote: > >> Hello! >> >> I realized that I haven't commented on this mailing list thread -- I >> made some comments on https://issues.ap

Re: New website

2021-12-12 Thread Martin Grigorov
hema > canonical form. I value a lot the sidebar bottom version switching > navigation from sites such as here > https://fastavro.readthedocs.io/en/latest/writer.html#using-the-record-hint-to-specify-which-branch-of-a-union-to-take > ... but I know it can be extraordinarily difficult to

Re: Converting SpecificRecord to GenericRecord of different Schema Versions

2021-12-06 Thread Martin Grigorov
Hi, You will need to write a new org.apache.avro.io.Encoder. If you succeed making it then please share it with the commuity via Pull Request! If you don't - please create an issue and we will try to help! On Sun, Dec 5, 2021 at 6:31 PM KV 59 wrote: > Hi All, > > Here is my situation, I have a

Re: New website

2021-11-04 Thread Martin Grigorov
Everything is migrated for the documentation of the *current* version. The old site contains documentation for both current and current-1. Is this something you would like to preserve ? > > > On Tue, Nov 2, 2021 at 7:01 PM Martin Grigorov > wrote: > > > > Hi, >

Re: New website

2021-11-02 Thread Martin Grigorov
ot;Your Data. Any Time, Anywhere." And then mention the language > availability & excellent schema evolution. > > Kind regards, > Oscar > > On Thu, 28 Oct 2021 at 10:43, Martin Grigorov > wrote: > > > Hi all, > > > > Please check the new candidate f

Re: New website

2021-10-28 Thread Martin Grigorov
epository? > I don't see problems with any of these. Maybe it will be one idea easier if it is in the same repo. This way "build.sh dist" could copy the C/C++/C# docs in the same Git repo. Regards, Martin > > Niels > > > > On Thu, Oct 28, 2021 at 10:44

New website

2021-10-28 Thread Martin Grigorov
Hi all, Please check the new candidate for Apache Avro website: https://avro-website.netlify.app/ It is based on Hugo and uses Docsy theme. Its source code and instructions how to build could be found at https://github.com/martin-g/avro-website. The JIRA ticket is: https://issues.apache.org/jira/

Re: How to use avro::jsonEncoder with unicode symbols?

2021-10-19 Thread Martin Grigorov
Hi Anton, Which Avro module do you use ? Java, Python, ... ? Please show us your code! On Tue, Oct 19, 2021 at 6:03 PM Anton wrote: > Hello, > > > > I’m trying to deserialize avro data to json and now I can’t properly > receive non-ASCII symbols from encoder. In OutputStream of encoder I’m > se