You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I keep getting error:
Encountered error while executing callable statement 'SQLServerCallableStatement:2'
amazon_product_metadata_parser.output.ProductOutputException: Encountered error while executing callable statement 'SQLServerCallableStatement:2'
at amazon_product_metadata_parser_example_app.SQLServerOperationsImplExample.executeCallableStatement(SQLServerOperationsImplExample.java:239)
at amazon_product_metadata_parser_example_app.SQLServerOperationsImplExample.executeBeforeStatements(SQLServerOperationsImplExample.java:56)
at amazon_product_metadata_parser.output.SQLServer2012.SQLServer2012Output.open(SQLServer2012Output.java:52)
at amazon_product_metadata_parser.Parser.parse(Parser.java:60)
at amazon_product_metadata_parser_example_app.Main.run(Main.java:61)
at amazon_product_metadata_parser_example_app.Main.run(Main.java:21)
at amazon_product_metadata_parser_example_app.Main.main(Main.java:17)
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Could not find stored procedure 'Prepare_Load_Tables'.
Can you provide that missing stored procedure Prepare_Load_Tables?
Thanks
Hi @kathrine0, this program is designed to parse the raw data into Java objects and then pass them to SQL Server. What you do in SQL Server from there is completely customizable and specific to how you want to store your data. That's why I left it sort of open-ended for you to create your own SP called Prepare_Load_Tables as a sort of pre-run hook to prepare your warehouse.
In case you just want to get up and running quickly and/or it would be helpful to just customize an existing warehouse, here are the various SQL scripts we used to set up our warehouse:
Activity
robwise commentedon Apr 14, 2016
Hi @kathrine0, this program is designed to parse the raw data into Java objects and then pass them to SQL Server. What you do in SQL Server from there is completely customizable and specific to how you want to store your data. That's why I left it sort of open-ended for you to create your own SP called
Prepare_Load_Tablesas a sort of pre-run hook to prepare your warehouse.In case you just want to get up and running quickly and/or it would be helpful to just customize an existing warehouse, here are the various SQL scripts we used to set up our warehouse:
Warehouse Scripts.zip
kathrine0 commentedon Apr 16, 2016
@robwise thanks a lot for your answer. I'll take a look on the files you uploaded and adjust it to my needs :)