GitHub user hpandeycodeit opened a pull request:
https://github.com/apache/madlib/pull/288
Madlib 1239
JIRA: 1239
Added a new module cols_vec which Converts features from multiple columns
of an input table into a feature array in a single column.
Following files are committed:
cols2vec.py_in
cols2vec.sql_in
test/cols2vec.sql_in
Modules.yml
For special characters handling, using the py_list_to_string with
"long_format = False".
Also, split_quoted_delimited_str which quotes each element of the array.
Tests with special characters are added in the install check.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hpandeycodeit/incubator-madlib MADLIB_1239
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/madlib/pull/288.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 #288
----
commit 3b5a7780dee45edb215351879c892945d2c59c4c
Author: hpandeycodeit <hpandey@...>
Date: 2018-06-15T08:33:27Z
Changes for Jira: 1239, Converts features from multiple columns into a
feature array
commit 06bef61bffe71bae5bb9956c650d39ae7e0d5ef8
Author: hpandeycodeit <hpandey@...>
Date: 2018-06-15T08:41:10Z
added Module cols_vec
commit 40f08e1f17e53fc8b3fddb873f31f35be0aeb7f6
Author: hpandeycodeit <hpandey@...>
Date: 2018-06-15T08:43:23Z
added Module cols_vec
commit 3050607311059acde59d8a309eb10bb745a31469
Author: hpandeycodeit <hpandey@...>
Date: 2018-06-18T22:13:31Z
Fixed the test file for install-check failure.
commit 7dce06b3e7380ac8a97021943246450568b6e242
Author: hpandeycodeit <hpandey@...>
Date: 2018-07-03T22:16:36Z
Changes for Jira: 1239, Converts features from multiple columns into a
feature array
----
---