ETL Input Query and PARTITION BY
There are sporadic mentions of PARTITION BY used in ETL Services Input Queries, right after the ORDER BY statement. I have been unable to figure out what that exactly does. There is a snippet of documentation at:
By browsing through the old communities, I found a couple of mentions, most notably this one:
All of this is related to a need that I have to do some windowing, alike T-SQL's OVER (PARTITION BY …). I have also found:
which mentions the following URL:
https://community.birst.com/thread/8912
This is dead and I found no archive over the Internet. Does Infor have any copy of old Birst forums?
Best Answer
-
Enrico,
Birst partition by has nothing to do with windowing. It was an attempt to speed up parallel processing in some specific use cases way back.
Riina
0
Answers
-
Hello again, Enrico! I spoke about this one, too, with the team. Partition by is originally from the (old) Classic Birst help, and it should no longer be part of the documentation. Partition by does not enable parallel execution in Birst.
We are currently working on refreshing and improving the documentation, but sometimes mistakes happen. My apologies that this one slipped through the review process. We will remove it from the documentation asap.
Riina
0 -
Hi Riina,
I understand the docs are under review, that's clear. My point here is that "PARTITION BY" is indeed accepted by Birst in ETL Input Queries. And, as you also said, it does not seem to do anything.
For my final understanding: if I got it right,
- PARTITION BY was an old command from the old Classic Birst, where it was used to distribute a script execution over parallel processes (documentation not very clear honestly, but anyway);
- PARTITION BY is now still accepted (I suppose for backward compatibility reasons) but does not do anything anymore. Apparently, parallel processing is managed automatically by the system;
- PARTITION BY has nothing to do with the homonymous command from SQL, which is used for windowing functionalities.
May you be so kind and confirm the above with the Birst team, in particular the last point?
Thanks a lot!
Enrico
0 -
Thanks Riina and I will mark that as an answer. Before that, would you be so kind and let me know also this:
"Does Infor have any copy of old Birst forums?"
(please see my original question).
Enrico
0 -
Hi Enrico!
I've asked around and it seems we don't have a copy of the old Forums anywhere.
Riina
0 -
Ugh. That's not a good policy IMHO. Anyway.
Thanks a lot for your commitment!
Stay well,
Enrico
0