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

Pedro Carneiro updated AVRO-2302:
---------------------------------
    Description: 
An error occurs when importing Avro files into BigQuery.
 The files were generated using a ProtobufData schema.
 The error shown is similar to:
{code}
BigQuery error in load operation: Error processing job
'<some_job_id>': Error while reading data, error message: The
Apache Avro library failed to parse the header with the following error: 
Invalid namespace:
some.package.SomeClassProto$
{code}
When using a modified version of the ProtobufData class, that yields a 
namespace like
{noformat}
some.package.SomeClassProto
{noformat}
(without the dollar), the import worked without errors.

Potentially related to AVRO-2143?

  was:
An error occurs when importing Avro files into BigQuery.
The files were generated using a ProtobufData schema.
The error shown is similar to:
{code:bash}
BigQuery error in load operation: Error processing job
'<some_job_id>': Error while reading data, error message: The
Apache Avro library failed to parse the header with the following error: 
Invalid namespace:
some.package.SomeClassProto$
{code}
When using a modified version of the ProtobufData class, that yields a 
namespace like 
{noformat}
some.package.SomeClassProto
{noformat}
 (without the dollar), the import worked without errors.


> Invalid namespace importing Avro files generated from Protobuf
> --------------------------------------------------------------
>
>                 Key: AVRO-2302
>                 URL: https://issues.apache.org/jira/browse/AVRO-2302
>             Project: Apache Avro
>          Issue Type: Bug
>    Affects Versions: 1.8.2
>            Reporter: Pedro Carneiro
>            Priority: Major
>
> An error occurs when importing Avro files into BigQuery.
>  The files were generated using a ProtobufData schema.
>  The error shown is similar to:
> {code}
> BigQuery error in load operation: Error processing job
> '<some_job_id>': Error while reading data, error message: The
> Apache Avro library failed to parse the header with the following error: 
> Invalid namespace:
> some.package.SomeClassProto$
> {code}
> When using a modified version of the ProtobufData class, that yields a 
> namespace like
> {noformat}
> some.package.SomeClassProto
> {noformat}
> (without the dollar), the import worked without errors.
> Potentially related to AVRO-2143?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to