GitHub user njayaram2 opened a pull request:
https://github.com/apache/madlib/pull/214
Correlation: Fix bug with international characters
JIRA:MADLIB-1186
If the column name of an independent variable used in
madlib.correlation(...) has quotes in it, then the query fails due
to a regular string concat used for finding the average of a column.
This commit uses add_postfix() to create a new string out of a string
that has special chars instead.
Closes #213
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/njayaram2/madlib
bugfix/correlation_international
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/madlib/pull/214.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #214
----
commit d88072988f637789ee6492c8b12e0afaa5e06abf
Author: Nandish Jayaram <[email protected]>
Date: 2017-12-11T22:09:46Z
Correlation: Fix bug with international characters
JIRA:MADLIB-1186
If the column name of an independent variable used in
madlib.correlation(...) has quotes in it, then the query fails due
to a regular string concat used for finding the average of a column.
This commit uses add_postfix() to create a new string out of a string
that has special chars instead.
Closes #213
----
---