Re: Avro schema evolution support in AVRO CPP

2024-01-12 Thread John McClean
fwiw, I'm using it and it works fine, at least for my use cases. J On Fri, Jan 12, 2024 at 1:55 AM Martin Grigorov wrote: > 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

Re: Avro schema evolution support in AVRO CPP

2024-01-12 Thread John McClean
fwiw, I'm using it and it works fine, at least for my use cases. J On Fri, Jan 12, 2024 at 1:55 AM Martin Grigorov wrote: > 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

[jira] [Assigned] (AVRO-3712) C++ Build Failure on Manjaro

2023-02-05 Thread John McClean (Jira)
[ https://issues.apache.org/jira/browse/AVRO-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean reassigned AVRO-3712: -- > C++ Build Failure on Manjaro > - > > Ke

[jira] [Created] (AVRO-3712) C++ Build Failure on Manjaro

2023-02-05 Thread John McClean (Jira)
John McClean created AVRO-3712: -- Summary: C++ Build Failure on Manjaro Key: AVRO-3712 URL: https://issues.apache.org/jira/browse/AVRO-3712 Project: Apache Avro Issue Type: Bug

[jira] [Created] (AVRO-3650) Fix C++ Build on Manjaro

2022-10-19 Thread John McClean (Jira)
John McClean created AVRO-3650: -- Summary: Fix C++ Build on Manjaro Key: AVRO-3650 URL: https://issues.apache.org/jira/browse/AVRO-3650 Project: Apache Avro Issue Type: Bug Reporter

Re: Serialization with optional fields using C++ library

2021-12-22 Thread John McClean
I only skimmed this, but the schema should read "default", not "defaults". I've no idea if that's the only issue. J On Wed, Dec 22, 2021 at 8:40 AM Anton wrote: > Hi Martin, > > > > SchemaTests.cc checks only test compilation and my schema compiles fine > according to my code. > > Is there any

Re: (Nothing -> C++ Union Decoding)

2021-05-21 Thread John McClean
>From the spec: > A union is encoded by first writing an int value indicating the zero-based position within the union of the schema of its value. The value is then encoded per the indicated schema within the union. In other words 'value' doesn't have a way for the decoder to figure out which

Re: Tool for creating uml diagrams

2018-04-09 Thread John McClean
I'd consider generating Java from the avro and then using one of the many tools that will generate UML from Java. On Mon, Apr 9, 2018 at 4:06 PM, Rob Torop wrote: > You could try using plantuml. You'd have to write some code to generate > the files it takes (it's like

Issue parsing url with '+' in it

2018-01-01 Thread John McClean
I'm trying to checkout/export part of a github repo. svn export "https://github.com/apache/avro.git/trunk/lang/c++; This creates a directory but doesn't get any files. It work fine for urls which don't have a '+' in them. URI encoding the '+'s doesn't change the behavior. Any ideas? John

Re: Customizing JSON encoding for Avro C++ bindings

2017-03-07 Thread John McClean
If you want a string representation, can you use 'string' as the type rather than 'fixed'? Or is the issue that you have data conversion / backwards compatibility constraints? On Tue, Mar 7, 2017 at 6:51 AM, Tim Upthegrove wrote: > Hi folks, > > I am trying to add a

Re: Avro -> JDBC ?

2016-12-19 Thread John McClean
I've never done this, but I were to try I'd start by looking at Confluent's JDBC sink connector. http://docs.confluent.io/3.1.1/connect/connect-jdbc/docs/index.html It's going to have all the moving parts you need. The question will be whether it's too heavy-weight and requires too much setup.

Re: How to extract String from GenericRecorcd as null instead of null string?

2016-12-16 Thread John McClean
This isn't an avro issue, it's to do with your use of 'valueOf'. You need to check for null before you call it. More info's here. http://stackoverflow.com/questions/13577892/what-is-difference-between-null-and-null-of-string-valueofstring-object J On Fri, Dec 16, 2016 at 5:54 PM, Check Peck

[jira] [Commented] (AVRO-1912) C++ Resolving Decoding doesn't work if element removed from record in array.

2016-11-25 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15696603#comment-15696603 ] John McClean commented on AVRO-1912: Can this be merged to trunk? > C++ Resolving Decoding does

Re: Alternative to Avro container files for long-term Avro storage

2016-11-15 Thread John McClean
One approach is to have separate Kafka topics per schema, which evolve with use of a schema registry: https://github.com/confluentinc/schema-registry. You'd write to the topic with the schema id in metadata. You'd write normal avro storage files, knowing when to split them based on the changing

[jira] [Assigned] (AVRO-1912) C++ Resolving Decoding doesn't work if element removed from record in array.

2016-09-15 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean reassigned AVRO-1912: -- Assignee: Thiruvalluvan M. G. > C++ Resolving Decoding doesn't work if element removed f

[jira] [Updated] (AVRO-1912) C++ Resolving Decoding doesn't work if element removed from record in array.

2016-09-12 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean updated AVRO-1912: --- Status: Patch Available (was: Open) > C++ Resolving Decoding doesn't work if element removed f

[jira] [Commented] (AVRO-1912) C++ Resolving Decoding doesn't work if element removed from record in array.

2016-09-10 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15480549#comment-15480549 ] John McClean commented on AVRO-1912: I've uploaded a patch. It's not large, but it's somewhat involved

[jira] [Updated] (AVRO-1912) C++ Resolving Decoding doesn't work if element removed from record in array.

2016-09-10 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean updated AVRO-1912: --- Attachment: AVRO-1912.patch Proposed patch > C++ Resolving Decoding doesn't work if element remo

[jira] [Commented] (AVRO-1912) C++ Resolving Decoding doesn't work if element removed from record in array.

2016-09-09 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15478460#comment-15478460 ] John McClean commented on AVRO-1912: The problem is that "B" is the last element of the array

[jira] [Created] (AVRO-1912) C++ Resolving Decoding doesn't work if element removed from record in array.

2016-09-09 Thread John McClean (JIRA)
John McClean created AVRO-1912: -- Summary: C++ Resolving Decoding doesn't work if element removed from record in array. Key: AVRO-1912 URL: https://issues.apache.org/jira/browse/AVRO-1912 Project: Avro

[jira] [Commented] (AVRO-1216) Setting precision for the output stream

2016-07-21 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15387995#comment-15387995 ] John McClean commented on AVRO-1216: Could a committer take a look at this one? > Setting precis

[jira] [Commented] (AVRO-1216) Setting precision for the output stream

2016-05-31 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15307801#comment-15307801 ] John McClean commented on AVRO-1216: [~thiru_mg]: can you take a look at this patch when you get

[jira] [Updated] (AVRO-1216) Setting precision for the output stream

2016-05-18 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean updated AVRO-1216: --- Attachment: AVRO-1216.patch > Setting precision for the output str

[jira] [Commented] (AVRO-1216) Setting precision for the output stream

2016-05-18 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15289753#comment-15289753 ] John McClean commented on AVRO-1216: The problem is that the JsonGenerator converts doubles to strings

[jira] [Assigned] (AVRO-1216) Setting precision for the output stream

2016-05-18 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean reassigned AVRO-1216: -- Assignee: John McClean > Setting precision for the output str

[jira] [Commented] (AVRO-1784) Should have a C++ json encoder that pretty prints.

2016-04-13 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15239361#comment-15239361 ] John McClean commented on AVRO-1784: Thanks Thiru. > Should have a C++ json encoder that pretty pri

[jira] [Commented] (AVRO-1784) Should have a C++ json encoder that pretty prints.

2016-04-11 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15235831#comment-15235831 ] John McClean commented on AVRO-1784: Ping [~thiru_mg] > Should have a C++ json encoder that pre

[jira] [Commented] (AVRO-1784) Should have a C++ json encoder that pretty prints.

2016-03-02 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15177080#comment-15177080 ] John McClean commented on AVRO-1784: BTW, I tried to make the change minimal but the templates defeated

[jira] [Commented] (AVRO-1784) Should have a C++ json encoder that pretty prints.

2016-03-02 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15177070#comment-15177070 ] John McClean commented on AVRO-1784: Thanks Thiru. It's obviously not urgent; just trying to get

[jira] [Commented] (AVRO-1784) Should have a C++ json encoder that pretty prints.

2016-03-02 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15176510#comment-15176510 ] John McClean commented on AVRO-1784: Could I get a comment on this issue? > Should have a C++ j

[jira] [Commented] (AVRO-1784) Should have a C++ json encoder that pretty prints.

2016-02-07 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15136436#comment-15136436 ] John McClean commented on AVRO-1784: Could someone take a look at this? > Should have a C++ j

[jira] [Created] (AVRO-1784) Should have a C++ json encoder that pretty prints.

2016-01-16 Thread John McClean (JIRA)
John McClean created AVRO-1784: -- Summary: Should have a C++ json encoder that pretty prints. Key: AVRO-1784 URL: https://issues.apache.org/jira/browse/AVRO-1784 Project: Avro Issue Type

[jira] [Updated] (AVRO-1784) Should have a C++ json encoder that pretty prints.

2016-01-16 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean updated AVRO-1784: --- Status: Patch Available (was: Open) Tests pass. > Should have a C++ json encoder that pretty pri

[jira] [Updated] (AVRO-1784) Should have a C++ json encoder that pretty prints.

2016-01-16 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean updated AVRO-1784: --- Attachment: AVRO-1784.patch > Should have a C++ json encoder that pretty pri

[jira] [Commented] (AVRO-1754) C++ ValiditingDecoder handles null incorrectly

2015-11-25 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15027425#comment-15027425 ] John McClean commented on AVRO-1754: Can someone take a look at this issue? > C++ ValiditingDeco

[jira] [Updated] (AVRO-1754) C++ ValiditingDecoder handles null incorrectly

2015-11-12 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean updated AVRO-1754: --- Status: Patch Available (was: Open) > C++ ValiditingDecoder handles null incorrec

[jira] [Updated] (AVRO-1754) C++ ValiditingDecoder handles null incorrectly

2015-11-04 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean updated AVRO-1754: --- Description: When decoding null, the ValidatingDecoder does not call the underlying 'decodeNull

[jira] [Updated] (AVRO-1754) C++ ValiditingDecoder handles null incorrectly

2015-11-04 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean updated AVRO-1754: --- Description: When decoding null, the ValidatingDecoder does not call the underlying 'decodeNull

[jira] [Created] (AVRO-1754) C++ ValiditingDecoder handles null incorrectly

2015-11-04 Thread John McClean (JIRA)
John McClean created AVRO-1754: -- Summary: C++ ValiditingDecoder handles null incorrectly Key: AVRO-1754 URL: https://issues.apache.org/jira/browse/AVRO-1754 Project: Avro Issue Type: Bug

[jira] [Updated] (AVRO-1754) C++ ValiditingDecoder handles null incorrectly

2015-11-04 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean updated AVRO-1754: --- Description: When decoding null, the ValidatingDecoder does not call the underlying 'decodeNull

[jira] [Updated] (AVRO-1754) C++ ValiditingDecoder handles null incorrectly

2015-11-04 Thread John McClean (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McClean updated AVRO-1754: --- Attachment: AVRO-1754.patch > C++ ValiditingDecoder handles null incorrec

Re: geo replication

2013-10-14 Thread John McClean
Is there any more information on an ETA? -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[Bug 1038283] Re: installer freezes while saying Stopping mount network filesystems

2012-12-02 Thread John McClean
I'm getting the same thing. It's an older PC and the battery might be dead. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1038283 Title: installer freezes while saying Stopping mount network