These are chat archives for DataBrewery/cubes

4th
Apr 2017
Michael Schwab
@schwab
Apr 04 2017 03:38
Congratulations on the decision to begin working on Cubes 2.0. Having been a regular user in several projects for years, it's exciting to know the project will be moving forward again!
Stefan Urbanek
@Stiivi
Apr 04 2017 05:00
@schwab thank you.
Michael Schwab
@schwab
Apr 04 2017 05:27
Do you know BTW if slicer sql denormalize works? If so, is there an example of calling it somewhere? I always get Error: config should be a ConfigParser instance, but is <class 'str'>
Stefan Urbanek
@Stiivi
Apr 04 2017 05:34
@schwab Can you please file an issue? Looks like in cubes.slicer.commands module all Workspace(config) have to be replaced with Workspace(read_config(config))
Michael Schwab
@schwab
Apr 04 2017 12:31
OK, thanks for the response. I've submitted and issue and will try the fix today. If it goes well I'll submit a pull request.
Michael Schwab
@schwab
Apr 04 2017 17:56
That fix gets past the config error, list now works, however denormoralize is now failing with " File "/home/mdmetrix-dev/.local/lib/python2.7/site-packages/cubes/sql/store.py", line 362, in create_denormalized_view
insp = reflection.Inspector.from_engine(engine)
NameError: global name 'engine' is not defined" cannot spend anymore time on it today, but may be able to come back to it towards the end of the week.
Stefan Urbanek
@Stiivi
Apr 04 2017 18:54
@schwab replace engine with self.connectable