[
https://issues.apache.org/jira/browse/MAHOUT-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen resolved MAHOUT-101.
------------------------------
Resolution: Fixed
Assignee: Sean Owen
Yep, great catch. Fixed.
> MySQLJDBCDiffStorage.java: hard coded column names
> --------------------------------------------------
>
> Key: MAHOUT-101
> URL: https://issues.apache.org/jira/browse/MAHOUT-101
> Project: Mahout
> Issue Type: Bug
> Components: Collaborative Filtering
> Reporter: Jens Grivolla
> Assignee: Sean Owen
> Priority: Minor
>
> Some column names in MySQLJDBCDiffStorage.java are hard coded instead of
> using the values provided in the constructor.
> proposed fix:
> in MySQLJDBCDiffStorage.java:
> 116c117
> < " WHERE " + itemIDBColumn + " = item_id AND " + userIDColumn +
> "=? UNION DISTINCT" +
> ---
> > " WHERE " + itemIDBColumn + " = " + itemIDColumn + " AND " +
> > userIDColumn + "=? UNION DISTINCT" +
> 118c119
> < " WHERE " + itemIDAColumn + " = item_id AND " + userIDColumn +
> ---
> > " WHERE " + itemIDAColumn + " = " + itemIDColumn + " AND " +
> > userIDColumn +
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.