0 votes
78 views
in Technology by (230k points)

When SQL run from the other programming language the result will be-
1. Neither DataFrame nor Dataset
2. DataFrame
3. DataSet
4. Either DataFrame or Dataset

2 Answers

0 votes
by (230k points)

When SQL run from the other programming language the result will be-
1. Neither DataFrame nor Dataset
2. DataFrame
3. DataSet
4. Either DataFrame or Dataset

Answer is:-  4. Either DataFrame or Dataset

🔗Reference : W3school.com

🔗Source: Interview Questions and Answers

🔗Reference: Javatpoint.com

0 votes
by (51.6k points)

One use of Spark SQL is to execute SQL queries. Spark SQL can also be used to read data from an existing Hive installation. For more on how to configure this feature, please refer to the Hive Tables section. When running SQL from within another programming language the results will be returned as a Dataset/DataFrame. You can also interact with the SQL interface using the command-line or over JDBC/ODBC.

Related questions

0 votes
2 answers 93 views
0 votes
1 answer 64 views
0 votes
1 answer 10 views
0 votes
2 answers 40 views
asked Oct 22, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 26 views
0 votes
1 answer 21 views
0 votes
1 answer 30 views
0 votes
1 answer 86 views
0 votes
1 answer 14 views
0 votes
1 answer 96 views
0 votes
1 answer 32 views
0 votes
1 answer 69 views
0 votes
1 answer 145 views
0 votes
1 answer 62 views
asked Oct 22, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 25 views
...