Skip to content
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

Data does not update when extract is refreshed #26

Open
quack3d opened this issue Aug 30, 2021 · 4 comments
Open

Data does not update when extract is refreshed #26

quack3d opened this issue Aug 30, 2021 · 4 comments

Comments

@quack3d
Copy link

quack3d commented Aug 30, 2021

Shouldn't data be updated when extract is refreshed?

If I connect to the WDC with GET and https://qrng.anu.edu.au/API/jsonI.php?length=1&type=uint8 I get a random number in the data variable.

But when I refresh the extract in Tableau Desktop the data variable is not updated.

@quack3d
Copy link
Author

quack3d commented Sep 27, 2021

Is this abandoned?

@dfeinzeig
Copy link

+1 on this issue

@quack3d
Copy link
Author

quack3d commented Oct 26, 2021

@niranjan94 Have you had a chance to look at this?

@niranjan94
Copy link
Owner

Hi @sepodele. I took a look into this today.

  1. Currently RDC does the data loading outside of the connector's getData inside the respective components powering the REST-API/Swagger/OpenAPI interfaces.
  2. This is done to make the Export Data UI possible allowing you to customize the data before import into Tableau
  3. But the downside of this approach is, since the actual request is done only once, any other future calls to getData return the stale data. And the Refresh button inside Tableau calls this function
  4. Moving the network request login into getData is going to take a fair amount of effort as even getSchema needs the data before hand to generate a schema from the data.

Unfortunately, I don't have the bandwidth at the moment to make changes of this level. And can't commit to a specific timeline for this either. But if anyone is willing to take a stab and it and contribute a PR, I'm more than happy to review it and give my comments until it is merge-able.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants