You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Raju Bairishetti (JIRA)" <ji...@apache.org> on 2015/07/28 05:03:04 UTC

[jira] [Updated] (LENS-698) Findbug error in PopulateSampleMetastore

     [ https://issues.apache.org/jira/browse/LENS-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raju Bairishetti updated LENS-698:
----------------------------------
    Fix Version/s: 2.3

> Findbug error in PopulateSampleMetastore
> ----------------------------------------
>
>                 Key: LENS-698
>                 URL: https://issues.apache.org/jira/browse/LENS-698
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Yash Sharma
>            Assignee: Yash Sharma
>            Priority: Minor
>              Labels: findbugs
>             Fix For: 2.3
>
>
> org.apache.lens.examples.PopulateSampleMetastore.createContinuousFactData() passes a nonconstant String to an execute or addBatch method on an SQL statement [org.apache.lens.examples.PopulateSampleMetastore] At PopulateSampleMetastore.java:[line 113]
> Code - 
> {quote}
> statement.execute("INSERT INTO mydb_sales_aggr_continuous_fact (order_time, delivery_time, customer_id, "
>         + "product_id, promotion_id, customer_city_id, production_city_id, delivery_city_id, unit_sales, "
>         + "store_sales, store_cost, max_line_item_price, max_line_item_discount) values "
>         + "('" + nowTime + "','" + nowTime + "',2,2,1,2,2,2,1,8,2,10,2)");
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)