09-20-2018 12:49 PM - edited 02-04-2024 4:44 AM
Are you trying to input this data through the Streaming Run-test perspective in HANA Studio? If so, are you using the Playback tool or the File Upload tool?
Specifically, the error indicates that the input file contained an invalid opcode. For an example of the expected record format, you can take a look the machine_data.csv file that is used in the Run and Test a Project in SAP HANA Smart Data Streaming part of the Get started with SAP HANA Smart Data Streaming tutorial. The expected file format includes the opcode in the 2nd column of each record.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for answering Robert.
As you suggested ,I tried both the options of loading data ,
Error: rec (5,506) - while trying to invoke the method com.sybase.esp.sdk.Stream.getStreamId() of a null object loaded from local variable 'stream'
Unfortunately you're not giving me enough information to properly help. The previous error specifically indicated that the stream name provided in the CSV file didn't match any stream name in the project. I understand you made some change, but you haven't really told me what that was.
If you could provide a sample of the CSV file, say 5-10 lines, plus the CCL for at least the input stream/window, then I should be able to help you out.
We might be getting closer. One of the earlier errors that you posted stated that an input stream called "pump_data". Looking at the CCL that you provided, the actual name of the input stream in the project is "Pump_data". Note the difference in case between the 2 values with the input data using a lower case "p" while the project uses an upper case "P". Those values are case sensitive and need to match.
It is good that you are making progress. If you look at the diagnosis files from the server and in particular the project trace file (.trc) you should be able to get a detailed error message that can help you identify where the issue is with reading in the .csv file. One common issue is with the file path.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.