docs-bi-connector's People
Forkers
asya999 gabelula kstirman i80and atsansone steveren jdestefano-mongo mongocaleb skerschb stennie triadai 7125messi jeff-allen-mongo rschuman rob-mongodb yuhonghong7035 productinfo melissamahoney-mongodb tahiyachowdhury danielborowski ccho-mongodb sophstad hubbucket-team kanchana-mongodb zach-carr jwilliams-mongo madelinezec eshwer schmalliso jocelyn-mendez mango-db juliamongo corryroot rayangler casthewiz sarahsimpers davidhou17 gjchong25 mongodbchez mongodben isabella232 kennethpjdyer kennethdyer kyuan-mongodb crisatmongo mdb-ashley sarah-olson-mongodb srober1 paulis-an lmkerbey-mdb erabil-mdb lindseymoore ajhuh-mdb carriecwk eforeman-mdb sarahemlin jvincent-mongodb mongodan euniceadam-mdbdocs-bi-connector's Issues
Help setup the connector
I am an novice when comes to db help me, am using config file to bring up the mongosqld adn getting below error
C:\Program Files\MongoDB\Connector for BI\2.14\bin>mongosqld.exe /config:config.yml
2022-07-14T03:50:52.699-0500 I CONTROL [initandlisten] mongosqld starting: version=v2.14.4 pid=2744 host=XXXXXXXX
2022-07-14T03:50:52.699-0500 I CONTROL [initandlisten] git version: df0cf0b57e9aac0ab6d545eee0d4451d11d0c6e9
2022-07-14T03:50:52.699-0500 I CONTROL [initandlisten] OpenSSL version OpenSSL 1.0.2n-fips 7 Dec 2017 (built with OpenSSL 1.0.2s 28 May 2019)
2022-07-14T03:50:52.699-0500 I CONTROL [initandlisten] options: {config: "config.yml", systemLog: {verbosity: 1}, schema: {stored: {mode: "custom", sour
ce: "mongosqld_data", name: "mySchema"}}, mongodb: {net: {uri: "mongodb://XXXX:[email protected]:27017/?authSource=admin", auth: {source:
"admin"}}}}
2022-07-14T03:50:52.699-0500 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for mongosqld.
2022-07-14T03:50:52.699-0500 I CONTROL [initandlisten]
--mongo-uri may not contain any authentication information
BI connector SQL compatibility issue: fatal error: concurrent map writes
MySQL [default]> select rand() union all select rand();
+--------------------+
| rand() |
+--------------------+
| 0.3574665331446355 |
| 0.6134769079254957 |
+--------------------+
2 rows in set (0.00 sec)
MySQL [default]> select rand() union all select rand();
ERROR 2013 (HY000): Lost connection to MySQL server during query
MySQL [default]> select rand() union all select rand();
ERROR 2006 (HY000): MySQL server has gone away
The mogosqld
logs:
2021-04-29T14:31:14.159+0800 D REWRITER [conn1] rewritten query: `select rand() as rand() from DUAL union all select rand() as rand() from DUAL`
2021-04-29T14:31:14.159+0800 W OPTIMIZER [conn1] error running FoldConstants: expected EvalType 12 at index 0, but got fa
2021-04-29T14:31:14.159+0800 W OPTIMIZER [conn1] error running FoldConstants: expected EvalType 12 at index 0, but got fa
2021-04-29T14:31:14.159+0800 D OPTIMIZER [conn1] plan before pipeline optimization:
↳ Project(rand()):
↳ Union (all):
↳ Project(rand()):
↳ Dual
↳ Project(rand()):
↳ Dual
2021-04-29T14:31:14.159+0800 D OPTIMIZER [conn1] plan after pipeline optimization:
↳ Project(rand()):
↳ Union (all):
↳ Project(rand()):
↳ Dual
↳ Project(rand()):
↳ Dual
2021-04-29T14:31:14.159+0800 D EXECUTOR [conn1] executing query plan:
↳ Project(rand()):
↳ Union (all):
↳ Project(rand()):
↳ Dual
↳ Project(rand()):
↳ Dual
2021-04-29T14:31:14.159+0800 I NETWORK [conn1] returned 2 rows (46B)
2021-04-29T14:31:14.159+0800 D NETWORK [conn1] 44B peak allocated
2021-04-29T14:31:14.159+0800 I NETWORK [conn1] done executing query in 1ms
fatal error: concurrent map writes
All the databases are not listing while creating a connection with Remote Db using mongosqld BI connector.
I am connecting a remote db with mongosqld for connection with my mongodb collections the response connection is just showing only 1 Db from my hosted Databases. All the tables of a single db are also showing in the connection response.
This is the case with the remote db but when i execute all the above steps with local db then it successfully show all the hosted db's and the corresponding tables as well.
I connect with the db with the following command (
./bin/mongosqld --mongo-uri mongodb://IPAddress : PortNumber
)
Kindly guide me why mongosqld is not extracting all the hosted db's while connection with remote db?
Thanks in Advance
Support configuration of indexes
Hello,
I've searched through the docs and couldn't find any mention of how (or if possible) to create indexes in the MongoDB bi connector MySQL table it creates.
I would have assumes it would be part of the schemas but couldn't find any mention about it.
I'm mainly trying to create indexes to improve my performance over many relations between many tables, Any other suggestion as to how to improve performance?
DDL statements
Hi!
Can I use DDL statements (CREATE/DROP/ALTER table)?
In version 2.3
BI connector SQL compatibility issue: unexpected LPAREN at position 15
MySQL [default]> select format(123.456, 2);
ERROR 1064 (42000): parse sql 'select format(123.456, 2)' error: unexpected LPAREN at position 15
Convert value to a stringified JSON representation
I'm trying to figure out if there is a way to present a value as a JSON string within queried column. In the example below "recordData" has many structures in our collection. The generated drdl is literally 1000's of lines long just for that one key.
Using this simplified document:
{
"name" : "Mike",
"recordData" : {
"subject" : {
"txtFirstName" : "Harley",
"selGender" : "Male"
}
},
"state":"WA"
}
I’d like to create a drdl entry that would convert the whole object to convert the "recordData" object to a string within one sql column.
Example select would be something like this:
name, recordData, state
Mike, '{"subject":{"txtFirstName":"Harley","selGender":"Male"}}', WA
I have to believe this is possible in drdl, but I can't find it in the documentation. Ideally, below would work (but it doesn't):
- Name: recordData
MongoType: object
SqlName: recordData
SqlType: varchar
I'm not sure where else to ask this and couldn't find the source code for mongsqld to figure out if it's supported.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.