Open Jupetus opened 3 months ago
We usually generate new Datasockets based on existing sockets. It would be helpful to have method that returns instance of DataSocket and returns copy of it with new path.
Datasockets
sockets
e.g.
old_socket = AdlsGen2Path.from_hdfs_path("abfss://container@account.dfs.core.windows.net/folder/file") new_socket = old_socket.update_path('folder/new_file_2') print(old_socket) print(new_socket)
Sockets should be identical apart from new socket having .path attribute folder/new_file_2
attribute folder/new_file_2
We usually generate new
Datasockets
based on existingsockets
. It would be helpful to have method that returns instance of DataSocket and returns copy of it with new path.e.g.
Sockets should be identical apart from new socket having .path
attribute folder/new_file_2