Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
olapy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
olapy
Commits
2c788220
Commit
2c788220
authored
May 12, 2017
by
mouadh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format import
parent
12be070e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
olapy/core/mdx/executor/execute.py
olapy/core/mdx/executor/execute.py
+5
-3
No files found.
olapy/core/mdx/executor/execute.py
View file @
2c788220
...
@@ -13,8 +13,9 @@ import pandas as pd
...
@@ -13,8 +13,9 @@ import pandas as pd
from
.execute_csv_files
import
_load_tables_csv_files
,
_construct_star_schema_csv_files
from
.execute_csv_files
import
_load_tables_csv_files
,
_construct_star_schema_csv_files
from
.execute_db
import
_load_tables_db
,
_construct_star_schema_db
from
.execute_db
import
_load_tables_db
,
_construct_star_schema_db
from
.execute_config_file
import
_load_table_config_file
from
.execute_config_file
import
(
_load_table_config_file
,
from
.execute_config_file
import
_construct_web_star_schema_config_file
,
_construct_star_schema_config_file
_construct_web_star_schema_config_file
,
_construct_star_schema_config_file
)
from
..tools.config_file_parser
import
ConfigParser
from
..tools.config_file_parser
import
ConfigParser
from
..tools.connection
import
MyDB
from
..tools.connection
import
MyDB
...
@@ -167,7 +168,8 @@ class MdxEngine:
...
@@ -167,7 +168,8 @@ class MdxEngine:
fusion
=
None
fusion
=
None
config_file_parser
=
ConfigParser
(
self
.
cube_path
)
config_file_parser
=
ConfigParser
(
self
.
cube_path
)
if
config_file_parser
.
config_file_exist
(
client_type
if
config_file_parser
.
config_file_exist
(
client_type
)
and
self
.
cube
in
config_file_parser
.
get_cubes_names
():
)
and
self
.
cube
in
config_file_parser
.
get_cubes_names
():
for
cubes
in
config_file_parser
.
construct_cubes
(
client_type
):
for
cubes
in
config_file_parser
.
construct_cubes
(
client_type
):
# TODO cubes.source == 'csv'
# TODO cubes.source == 'csv'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment