This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scala> import ml.combust.bundle.BundleFile | |
scala> import ml.combust.mleap.runtime.MleapSupport._ | |
scala> import resource._ | |
scala> import ml.combust.mleap.core.types._ | |
scala> import ml.combust.mleap.runtime.frame.{DefaultLeapFrame, Row} | |
// creating LeapFrame equivalent to the DataFrame above | |
scala> val schema = StructType(StructField("email", ScalarType.String), | |
| StructField("first_name", ScalarType.String)).get | |
OlderNewer