Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upToken always expired #92
Comments
|
Hi sorry for the issue you having. Are you working in RStudio IDE? My initial hunch is there is a bug in passing the role to the Schema Hierarchy builder for Rstudio's connection tab. |
|
Thank you so much for such a quick response! Yes, the set up is like this:
Bu the way, it was working fine ~1-2 weeks ago, and not sure what was changes since that time. |
|
Are you working on the cran version or github dev? are you able to provide a traceback? |
|
Sure, here is the traceback:
|
|
And have tested both versions from CRAN and this repo. |
|
Interesting, it looks like that client is created successfully but the issue is when glue is called to get your Glue Catalogue. Has the permissions changed for that role with glue? The connection code roughly goes like this (python version)
Are you able to run this from python? |
|
It goes smoothly by the last line:
The
|
|
Oh very interesting. Can you check for me, is there an object in The error is happening when R is assigning NULL to a name. To prevent that from happening I need to understand what object isnt a table type and what it should be instead :) |
|
@AZhyrenkov i have created an initial work around and return
|
|
If you can find out what object in Any help with this would be very much appreciated |
|
So I tried to take a look at the missing
And it's showing
Quite a lot of new tables in our Glue catalog is of type And the metainfo of table without a tabletype:
|
This is working! |
|
@AZhyrenkov perfect. Edit: Sorry I didn't see your earlier message. Please ignore below Can you please let me know the object types from the output where
All my unit tests have TableType return from |
Thanks for this. I am not sure why Glue isn't storing your TableTypes. It seems like the approach I have taken is the correct one. I will merge the branch onto master. If you find any other issues please raise a ticket. I am happy to help :) |
|
To clarify this a bit - all the tables with this issue were produced automatically via in-house developed data-streaming engine, so it's the issue on table creation stage. It's interesting that boto3 allows to create a table without a TableType :) Thank you so much for the quick resolution. Are you planning to merge this in master and release to CRAN? |
|
Yeah I didn't expect If you require it to be pushed sooner please let me know. |
|
version 1.8.0 has been pushed to the cran |
Hi!
I am experiencing the issue with library when trying to assume role during the connection process. But for same user over pure boto3 with same credentials everything is working fine.
0. Working example with boto3:
And 3 not working examples:
1. Passing the access parameters within connection
2. Over the profile file:
3. Without an assume role:
Could you please help? Am I doing something wrong?