[ https://issues.apache.org/jira/browse/LENS-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14643976#comment-14643976 ]
Hudson commented on LENS-698: ----------------------------- SUCCESS: Integrated in Lens-Commit #847 (See [https://builds.apache.org/job/Lens-Commit/847/]) LENS-698 : Fix findbug error in PopulateSampleMetastore (raju.bairishetti: rev 701d28bcd97c6e57507845d0f3be3386d7c3406f) * lens-examples/src/main/java/org/apache/lens/examples/PopulateSampleMetastore.java > Findbug error in PopulateSampleMetastore > ---------------------------------------- > > Key: LENS-698 > URL: https://issues.apache.org/jira/browse/LENS-698 > Project: Apache Lens > Issue Type: Bug > Components: examples > Reporter: Yash Sharma > Assignee: Yash Sharma > Priority: Minor > Labels: findbugs > Fix For: 2.3 > > Attachments: LENS-698.01.patch > > > 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)