usql
usql copied to clipboard
Microsoft.Analytics.Samples.Formats.Avro is broken
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
Facing the same problem today after stuggling with the nuGet packages raised in the issue #88
I'm facing the same problem.
Did you follow the instructions here?
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 )
Will be obsolete when https://github.com/Azure/usql/pull/98 has been merged because it uses a different Avro Library.