1: Querying data in hive through Spark SQL requires a screenshot of the operation.
Using the data from the second lesson, count the number of people in each region and sort them by number
2: Write a simple program to access the Spark SQL Thrift server through JDBC to achieve query, request process and screenshots.
See attachments