Creates a scala class instance with empty constructor (using reflection)
Creates a scala class instance with empty constructor (using reflection)
the full name of the object
a class instance if succeeded , None otherwise
Given a FileStatus return the name associated with this path
Returns the expression string (full column name), flattened, without any quoting or backticks added.
Returns the expression string (full column name),
flattened, without any quoting or backticks added.
NOTE: because backticks are removed, these is a possibility of collision
for example, expression that select columns
"a.b" and "a.b
will return the same name here!
the expression to get name for
Creates a scala object instance using the object name (using reflection)
Creates a scala object instance using the object name (using reflection)
the full name of the object
the object if succeeded , None otherwise
Extracts the partition columns from a DataFrame
Extracts the partition columns from a DataFrame
the DataFrame for which the partition columns are to be extracted
Custom logic to be used to rename the paths which are displayed in the xskipper output DataFrame-s
Custom logic to be used to rename the paths which are displayed in the xskipper output DataFrame-s
the path to be displayed
Returns schema fields recursively
Returns schema fields recursively
schema root field
(field name in lower case, (field name, field))
XskipperException
if schema field name contains a dot
Returns the DataFrame associated with the given table identifier
Returns the DataFrame associated with the given table identifier
SparkSession instance
the table identifier requested
the DataFrame associated with the given table identifier
Given a URI/table identifier returns the table identifier that will be used in xskipper
Given a URI/table identifier returns the table identifier that will be used in xskipper
the uri to be parsed
The corresponding Table identifier returns it as it is
Custom logic to be used to rename the tid which are displayed in the xskipper output DataFrame-s
Custom logic to be used to rename the tid which are displayed in the xskipper output DataFrame-s
the path to be displayed
Determines whether or not the column name is valid for indexing.
Determines whether or not the column name is valid for indexing.
For now, a name is legal if it's a legal spark column name + no vertex
along the column's schema tree path contains a "."
for example, "a.b
.c" is illegal (the path is [a.b, c]), but "a.b.c" ([a,b,c]) is legal.
the column name to check
true if the column name is valid, false otherwise
Checks if an expression is a valid single-column selection a valid single-column selection is an expression that selects a single column that is either flat (Attribute) or a nested column that is not a part of an array.
Checks if the given schema is valid
The schema is considered valid if it doens't contain column names with .
Checks if the given schema is valid
The schema is considered valid if it doens't contain column names with .
the schema to check
true if the schema is valid, false otherwise
Convert a Java memory parameter passed to -Xmx (such as 300m or 1g) to a number of mebibytes.
Receives a string and tries to convert it to org.apache.hadoop.fs.Path
Receives a string and tries to convert it to org.apache.hadoop.fs.Path
the path to convert
org.apache.hadoop.fs.Path if conversion succeeded or exception else