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

Sample ICombiner #53

Closed
RemekH opened this issue Aug 8, 2016 · 8 comments
Closed

Sample ICombiner #53

RemekH opened this issue Aug 8, 2016 · 8 comments

Comments

@RemekH
Copy link

RemekH commented Aug 8, 2016

Would be possible to add some example showing how to make custom JOIN using ICombiner?
E.g. JOIN two data sets using BETWEEN or x>=z && y<=z

@MikeRys
Copy link
Collaborator

MikeRys commented Aug 8, 2016

Hi Remek.... I don't think that a custom Combiner would be a great example for a BETWEEN scenario. That you should probably express as a CROSS JOIN with the BETWEEN in the WHERE clause.

Writing example Combiners is on our backlog though, although it would have to be one that shows a good use case :).

@RemekH
Copy link
Author

RemekH commented Aug 9, 2016

Hi Mike,

I was looking for any example not necessary related to BETWEEN. I agree with you that in most cases CROSS APPLY would be better solution then COMBINE.
My first approach was to used CROSS APPLY, but it took 25min to process, then when I eventually figure out how to use COMBINE it took only 5min.
So I guess there are cases when COMBINE come handy when you need to do JOIN BETWEEN

@MikeRys
Copy link
Collaborator

MikeRys commented Aug 9, 2016

I assume you mean a CROSS JOIN? :) And yes, custom Combiners can be more efficient than the generic CROSS JOIN/WHERE. If you feel yours is a good example and you are willing to share it, please let me know and I can add it.

@RemekH
Copy link
Author

RemekH commented Aug 10, 2016

Yes, I meant CROSS JOIN. I’m working on article to explain how to use COMBINE. I will let you know when ready so you can decide if it’s worth to add it as example and if so I will send you all source codes

@MikeRys
Copy link
Collaborator

MikeRys commented Aug 10, 2016

Thanks. Looking forward to the example!

From: RemekH [mailto:notifications@github.com]
Sent: Wednesday, August 10, 2016 6:27 AM
To: Azure/usql usql@noreply.github.com
Cc: Michael Rys michaelrys@hotmail.com; Assign assign@noreply.github.com
Subject: Re: [Azure/usql] Sample ICombiner (#53)

Yes, I meant CROSS JOIN. I’m working on article to explain how to use COMBINE. I will let you know when ready so you can decide if it’s worth to add it as example and if so I will send you all source codes


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub #53 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/ALNzJPMLdB1o6bbmFaT-udc2pU5rU_9xks5qedGWgaJpZM4JfK9o . https://github.com/notifications/beacon/ALNzJLXnHDfyWKkaIpX0bFZtv3q8kb5xks5qedGWgaJpZM4JfK9o.gif

@RemekH
Copy link
Author

RemekH commented Aug 11, 2016

Hi Mike,
Here is link to the post I mentioned: http://remekh.blogspot.com/2016/08/azure-data-lake-analytics-process-web.html

@MikeRys
Copy link
Collaborator

MikeRys commented Aug 12, 2016

Thanks I already tweeted it out :).

@MikeRys
Copy link
Collaborator

MikeRys commented Dec 22, 2016

We now have the U-SQL C# Programmability guide with samples for all UDOs at https://docs.microsoft.com/en-us/azure/data-lake-analytics/data-lake-analytics-u-sql-programmability-guide.

@MikeRys MikeRys closed this as completed Dec 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants