mirror of https://github.com/databricks/cli.git
todo
This commit is contained in:
parent
06af01c8f6
commit
4b484fdcdc
|
@ -167,6 +167,14 @@ func (w *DbfsClient) uploadUsingDbfsStreamingApi(ctx context.Context, path strin
|
|||
return err
|
||||
}
|
||||
|
||||
// TODO CONTINUE:
|
||||
// 1. Write the unit tests that make sure the filer write method works correctly
|
||||
// in either case.
|
||||
// 2. Write a intergration test that asserts write continues works for big file
|
||||
// uploads. Also test the overwrite flag in the integration test.
|
||||
// We can change MaxDbfsUploadLimitForPutApi in the test to avoid creating
|
||||
// massive test fixtures.
|
||||
|
||||
// MaxUploadLimitForPutApi is the maximum size in bytes of a file that can be uploaded
|
||||
// using the /dbfs/put API. If the file is larger than this limit, the streaming
|
||||
// API (/dbfs/create and /dbfs/add-block) will be used instead.
|
||||
|
|
Loading…
Reference in New Issue