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
Try to use the unarchive function on it via a siddhi application, sample code block below:
from singlefileStream#file:unarchive('/Users/Documents/Support/source', '/Users/Documents/Support/destination/')#log('unarchive_complete')
insert into finalstream;
Observe the following error
ERROR {io.siddhi.core.stream.StreamJunction} - Error in '2_Search_Unarchive_SiddhiApp' after consuming events from Stream 'singlefileStream', Exception occurred when getting the decompressing file: /Users/Documents/Support/source/Myfolder.zip. Hence, dropping event 'Event{timestamp=1699608841879, data=[s, s], isExpired=false}' io.siddhi.core.exception.SiddhiAppRuntimeException: Exception occurred when getting the decompressing file:
Affected Component
SI
Version
1.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered:
Description
Unarchive function not working for zipped directories in Streaming Integrator
Steps to Reproduce
Create zipped directory with the following directory structure
Myfolder/
SFTP_Rename.siddhi
SFTP_Siddhi.siddhi
Yourfolder/
Yourfolder/hello/
Try to use the unarchive function on it via a siddhi application, sample code block below:
from singlefileStream#file:unarchive('/Users/Documents/Support/source', '/Users/Documents/Support/destination/')#log('unarchive_complete')
insert into finalstream;
Observe the following error
ERROR {io.siddhi.core.stream.StreamJunction} - Error in '2_Search_Unarchive_SiddhiApp' after consuming events from Stream 'singlefileStream', Exception occurred when getting the decompressing file: /Users/Documents/Support/source/Myfolder.zip. Hence, dropping event 'Event{timestamp=1699608841879, data=[s, s], isExpired=false}' io.siddhi.core.exception.SiddhiAppRuntimeException: Exception occurred when getting the decompressing file:
Affected Component
SI
Version
1.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: