grundprinzip commented on code in PR #78:
URL: https://github.com/apache/spark-connect-go/pull/78#discussion_r1815599845


##########
internal/tests/integration/dataframe_test.go:
##########
@@ -694,3 +696,31 @@ func TestDataFrame_FreqItems(t *testing.T) {
        assert.NoErrorf(t, err, "%+v", err)
        assert.Len(t, res, 1)
 }
+
+func TestDataFrame_WithOption(t *testing.T) {
+       ctx, spark := connect()
+       filepath := "/tmp/test.csv"
+       file, err := os.Create(filepath)
+       assert.NoError(t, err)

Review Comment:
   Can you please use a proper tempfile:
   
   ```golang
   f, err := os.CreateTemp("", "example")
   assert.NoError(t, err)
   defer os.Remove(f.Name()) // clean up
   ```



-- 
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