Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.Analytics.Samples.Formats.Avro is broken #90

Open
viblo opened this issue Jun 20, 2017 · 5 comments
Open

Microsoft.Analytics.Samples.Formats.Avro is broken #90

viblo opened this issue Jun 20, 2017 · 5 comments

Comments

@viblo
Copy link

viblo commented Jun 20, 2017

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

@Mikeprod
Copy link

Facing the same problem today after stuggling with the nuGet packages raised in the issue #88

@wesselkranenborg
Copy link

I'm facing the same problem.

@ghost
Copy link

ghost commented Aug 30, 2017

Did you follow the instructions here?

@viblo
Copy link
Author

viblo commented 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 )

@ghost
Copy link

ghost commented Oct 9, 2017

Will be obsolete when #98 has been merged because it uses a different Avro Library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants