Db2-Streams-NamedTuple.zip
Hi,
I ran the database notebook and I was very pleased to see the new support for DB2 Connections right in the notebook!! Very easy to use!
Couple of comments:
-
I was using a table with a lot of columns and I found using the Streams schema was not needed if I could use a named tuple. This is a better option, especially because the sample was created for someone who is not familiar with Streams at all.
I attached my code, it is an example to use named tuples in the Database notebook to make it even easier to understand/reuse.
-
The options for connecting to DB2 (section 1.3.x) were not clear. It is not stated that you should follow just one of the sections and not all three of them.
-
Also needs to be clarified that option 1 is for CPD project, option 2 is for CPDaaS.(the former watson studio)
-
I'm not sure what is meant by custom database connection - does it mean a database that the CPD connections tool does not support?
Thank you!
Db2-Streams-NamedTuple.zip
Hi,
I ran the database notebook and I was very pleased to see the new support for DB2 Connections right in the notebook!! Very easy to use!
Couple of comments:
I was using a table with a lot of columns and I found using the Streams schema was not needed if I could use a named tuple. This is a better option, especially because the sample was created for someone who is not familiar with Streams at all.
I attached my code, it is an example to use named tuples in the Database notebook to make it even easier to understand/reuse.
The options for connecting to DB2 (section 1.3.x) were not clear. It is not stated that you should follow just one of the sections and not all three of them.
Also needs to be clarified that option 1 is for CPD project, option 2 is for CPDaaS.(the former watson studio)
I'm not sure what is meant by custom database connection - does it mean a database that the CPD connections tool does not support?
Thank you!