1

I need to run a databricks notebook 3 folder levels up with relative path but it is not working.

Is it a limitation? It works if I specify full path..

This is what I have tested:

%run ./folder/notebook - WORKS

%run ../folder/notebook - WORKS

%run .../folder/notebook - not working

baatchen
  • 469
  • 1
  • 7
  • 16

1 Answers1

2

You can't use ... to specify level - you need to use two of .. for that, like this:

../../folder/notebook

It's the standard Unix & DOS notation for relative paths (see wikipedia)

If you need to go to more levels, just add more ../

Alex Ott
  • 80,552
  • 8
  • 87
  • 132