We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de46551 commit 874e388Copy full SHA for 874e388
source/js/MDXParser.js
@@ -43,7 +43,7 @@ MDXParser.prototype.drillDown = function (mdx, filter, expression) {
43
return "";
44
}
45
46
- var parts = mdx.split(/(select)(.*?)(from)/ig); // split by SELECT queries
+ var parts = mdx.split(/(select\s*)(.*?)(\s*from)/ig); // split by SELECT queries
47
48
if (parts.length < 4) {
49
this._warnMDX(mdx);
0 commit comments