question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Microsoft.Analytics.Samples.Formats.Avro is broken

See original GitHub issue

The AvroExtractor.Extract method, public override IEnumerable<IRow> Extract(IUnstructuredReader input, IUpdatableRow output), uses the Length of the input stream. However, the Length property on the BaseStream is no longer supported, and when I try to run it I get this error:

The [Length] property of [IUnstructuredReader.BaseStream] is intentionally not supported to avoid ambiguity between the physical length of [IUnstructuredReader.BaseStream] and the logical length of the split of the entire input stream assigned to a vertex.

The solution is available in this repo here: https://github.com/Azure/usql/tree/master/Examples/DataFormats

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
ghostcommented, Oct 9, 2017

Will be obsolete when https://github.com/Azure/usql/pull/98 has been merged because it uses a different Avro Library.

0reactions
viblocommented, Sep 15, 2017

I can not reproduce the problem anymore. I guess either because I did it differently this time or because the data format sample code got updated. ( #88 is still an issue )

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reading Avro format in Synapse Analytics - Microsoft Q&A
I am trying to read and process avro files from ADLS using a Spark pool notebook in Azure Synapse Analytics. The avro files...
Read more >
AVRO parsing suddenly not working?
Hi,. We have a setup where we send IoT data to Azure IoT Hub, which then stores this data as AVRO blobs to...
Read more >
Avro format in Azure Data Factory and Synapse Analytics
This topic describes how to deal with Avro format in Azure Data Factory and Synapse Analytics.
Read more >
Troubleshooting Inputs for Azure Stream Analytics
This article describes common issues with Azure Stream Analytics input ... Using Event Hub capture blob in Avro format as input in your...
Read more >
Serverless SQL pool self-help - Azure Synapse Analytics
The table has a format that isn't supported in serverless SQL pool. Examples are Avro or ORC. String or binary data would be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found