How to add spark service in IBM watson studio? - ibm-watson

there is no spark service under define computer engine while creating a new project.enter image description here
[1]: https://i.stack.imgur.com/e8x1a.png
And no option for R and SCALA under language, and spark version and spark service is not there
enter image description here

Related

Can't connect Azure Search index to Snowflake database via the power query

Error detecting index schema from datasource: "Data source type 'powerquery is not supported
enter image description here
Make sure that you are connecting after requesting access to Power Query connectors. You will be provided instructions on how to use them from the portal.
Power Query connector support is currently in a gated public preview.
For instructions please visit:
https://learn.microsoft.com/azure/search/search-how-to-index-power-query-data-sources

Uploading Databases

How does one go about uploading a database like Apache Cassandra after creating one? Furthermore, is there a way to upload/share only its skeleton structure, without the data gathered in it? I'm on MacOS and would like to use Python to do all of this. Thank you!
Based on your second comment, I guessed it to mean you want the database to be remotely accessible to clients/apps not installed locally.
Clients/apps connect to Cassandra on the IP address set for rpc_address and the CQL port set for native_transport_port (default is 9042) set in cassandra.yaml.
You mentioned that your Cassandra instance is running on your laptop so only clients/apps running on your local network can access it if you configure rpc_address to an IP address accessible on the network (default is localhost).
If you're just trying out Cassandra and want to collaborate with other developer friends, try Astra and launch Cassandra instance on the free-tier (no credit card required). With it you can share the database credentials with your friends and they can connect to it over the internet.
You can connect to Astra from your Python app using the Python driver. Otherwise, Astra includes Stargate.io pre-configured and ready to use. Stargate is a data access gateway that lets you connect to Cassandra from your app using REST API, GraphQL API or JSON/Doc API without having to learn CQL. For more info, see Connecting to your Astra database. Cheers!

Does ADF Application Module support H2 or any other in memory database

Does ADF Application Module support H2 or any other in memory database?
i am getting java.lang.ClassCastException: org.h2.jdbc.JdbcConnection cannot be cast to oracle.jdbc.OracleConnection while creating the Application Module for testing
Did you choose to use the generic JDBC and JDBC types when you created your ADF BC layer?
Did you add the JDBC driver to JDeveloper's project libraries?
You have to follow below steps to use H2 database properly in your ADF application.
Create H2 db connection in your application
Run your integrated weblogic server
Create data source with same name as you have created connection in first step
Create AM, EO, VO and page of your add application
This way you will not get class cast exception.
Regards,
Bhavesh

Language:C; Environment:Windows; Database: Azure Cloud

Can anyone provide me a sample code to test a connection string in C that is trying to to connect to Azure cloud DB.
take a look at http://www.connectionstrings.com/sql-azure/
there are lots of samples there

how to display the database name and change the database properties in java (spring framework)

I have a requirement to display the database name on the screen that is connected by the web application (which is configured through the datasource on weblogic server with spring data xml having all the configurations) and also is there any way to switch from current database to different datasource (database server) while working/running on the web application (with user screen).
Thanks.
As far as I know, there is no straight-forward way to know this info. One way I can think of doing this is to parse the spring config XML file using an XML parser for the desired element - even that too will only give you the JNDI name of the datasource your app would be using. I hope you have a mechanism to determine which JDBC JNDI name maps to which database. If you don't have that information, you would have to use JMX (MBeans) to connect to the Weblogic environment to get that info.

Resources