-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add sas 9 remote (via IOM bridge) support #592
Conversation
dc67faa
to
08ba0cf
Compare
5510937
to
ec16802
Compare
af08bb2
to
1da05d1
Compare
6a83d60
to
e93d523
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks.
I went through all the issues raised in PR.
|
Fwiw, we believe this one is now resolved. @clangsmith tested this yesterday I believe |
Correct. I have tested it and it is now (after Scott's fix) working as expected for me -- the ODS results are now appearing. I played around with that server using our extension for awhile and did not encounter any other issues. |
The issue that Chinese characters were not rendered correctly has been fixed in the latest package. However I found a performance issue with coding running.
old package: 1minute50seconds to show result table |
This was one of my concerns in making a change to "collect all the bytes" first (in ad48cd1). Before this commit, we were reading bytes and writing them directly to a file. Now, we are storing all of the bytes in memory (which we'll eventually exhaust) and then attempting to encode all of them at once (which again, could be a problem for a huge number of bytes). I'm not sure the best approach to take here. It seems the options are:
@clangsmith @smorrisj @scnwwu Thoughts on how to proceed, here? |
Some thoughts:
|
This reverts commit ad48cd1.
1da3558
to
9b1bbcd
Compare
9b1bbcd
to
88c6b54
Compare
@scottdover and I stepped through the EG code and we are now doing essentially the same thing that EG is (pseudo-code):
The previous issue is that we were encoding the byte chunks as we received them, which would break up DBCS characters if they fell on the border. The testing I have done since the last fix appears to have resolved the issue. I also feel good knowing this is now the same way that EG handles it, considering EG has been doing it for many years (field-proven experience). (Btw, given that printing maps.africa generates a 20MB results file, I consider that to be an edge-case scenario. EG doesn't even attempt to open results files larger than 5MB by default. I still tried this scenario in the extension with the latest changes, and it was successful, but took about a minute total before I saw the results. This is not unreasonable in my opinion.) @scnwwu, @Zhirong2022, when you all return next week, please take another look, and if you feel this is reasonably addressed, don't encounter any other serious issues, or have any other concerns, please feel free to go ahead and merge this in. |
All issues have been fixed properly. |
Thanks, @scnwwu and @Zhirong2022 🎉 |
Summary
This adds sas 9 IOM bridge support. There are a few things to note here:
com -> itc
to better match connection infoTesting
SAS 9.4 (remote - IOM)
SAS 9.4 (local)