Its super cheap. Its just a hashtable stored on the driver. Yes you can have more than one name for the same DF.
On Wed, Oct 28, 2015 at 6:17 PM, Anfernee Xu <anfernee...@gmail.com> wrote: > Hi, > > I just want to understand the cost of DataFrame.registerTempTable(String), > is it just a trivial operation(like creating a object reference) in > master(Driver) JVM? And Can I have multiple tables with different name > referencing to the same DataFrame? > > Thanks > > -- > --Anfernee >