Giter Club home page Giter Club logo

Comments (7)

allanbowe avatar allanbowe commented on July 26, 2024

Hi @rohnny - we agree! If you checkout our development branch you will find a revised version that is 10,000 times faster, using the file upload mechanism (rather than creating macro variables).

You will need 9.4 to run it as it uses proc json. The macro calls are also different (eg it uses bafgetdatasets() to retrieve all datasets). example syntax:

/* get data */
%bafgetdatasets()

/* send data back */
%bafheader()
    %bafOutDataset(sasMembers, work, sasMembers)
%bafFooter()

from h54s.

allanbowe avatar allanbowe commented on July 26, 2024

also, if you are using the adapter to load data into SAS you might want to check out http://datacontroller.io - it's free for up to 10 users.

from h54s.

rohnny avatar rohnny commented on July 26, 2024

@allanbowe Thanks for making me aware of this! My client runs 9.4 so should be fine. I will check this out in the next coming days.

from h54s.

rohnny avatar rohnny commented on July 26, 2024

Hi @allanbowe, I did a checkout of the development branch and I cannot see any reference to bafgetdatasets as you mention? Also looks like the build is in the middle between grunt and gulp - what is the status of this? jshint is failing. Something I can do to help? :) Do you have any documentation regarding how to switch over to use proc json for receiving json?

from h54s.

allanbowe avatar allanbowe commented on July 26, 2024

Hi @rohnny - we did some work on this today, if you git pull the dev branch you should now be able to run gulp and gulp release however - this is only necessary if you plan to contribute to the dev build.

For general adapter usage just take the h54s.js from the dist folder, and the new h54s.sas from the sasautos directory. bafgetdatasets() is here and is now documented in the README.md.

We're glad you've raised this issue as it's triggered us to finally get (what we call) "version 1" of the adapter into master! The PR is here.

from h54s.

boomskats avatar boomskats commented on July 26, 2024

@rohnny For the v1 release @allanbowe is talking about, we've moved off JSON and now construct a csv payload that's presented to SAS as a file upload. Check this comment for an indication of the performance uplift.

We've been testing this release quite extensively for the last couple of years, and it's rock solid now. Just needs to be documented sufficiently and 'released'.

from h54s.

cj13579 avatar cj13579 commented on July 26, 2024

@rohnny this issue was resolved as of the v1.0 release of h54s. We've just released version 2.0 if you want to check it out.

Closing this issue.

from h54s.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.