dongjoon-hyun commented on code in PR #42:
URL: 
https://github.com/apache/spark-connect-swift/pull/42#discussion_r2030009522


##########
Tests/SparkConnectTests/SparkSessionTests.swift:
##########
@@ -75,6 +75,16 @@ struct SparkSessionTests {
     await spark.stop()
   }
 
+  @Test
+  func table() async throws {
+    let tableName = UUID().uuidString.replacingOccurrences(of: "-", with: "")
+    let spark = try await SparkSession.builder.getOrCreate()
+    #expect(try await spark.sql("CREATE TABLE \(tableName) AS VALUES (1), 
(2)").count() == 0)

Review Comment:
   Thank you for review. For views, there are multiple variants like Permanent 
View, Temporary View, Global Temporary view. So, I postpone the test coverage 
until now. However, it will be added soon because I'm implementing `Catalog`, 
@viirya .



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to