Giter VIP home page Giter VIP logo

Comments (3)

jmarien avatar jmarien commented on June 9, 2024

SODA-1278

from soda-core.

m1n0 avatar m1n0 commented on June 9, 2024

@vijaykiran do you have a simple way to replicate this please? Locally I am doing

...
spark_session = SparkSession.builder.master("local").appName("test").getOrCreate()
df = spark_session.createDataFrame(
    data=[{"id": "1", "name": "John Doe", "email": "[email protected]"}],
    schema=types.StructType(
        [
            types.StructField("id", types.StringType()),
            types.StructField("name", types.StringType()),
            types.StructField("email", types.StringType()),
        ]
    ),
)
df.createOrReplaceTempView("users")

scan = Scan()
...

to create a testing table but this way it seems none of the meta/partitioning data is there, I get the expected output:

Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
22/11/20 14:16:50 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
root
 |-- col_name: string (nullable = false)
 |-- data_type: string (nullable = false)
 |-- comment: string (nullable = true)

+--------+---------+-------+
|col_name|data_type|comment|
+--------+---------+-------+
|      id|   string|   null|
|    name|   string|   null|
|   email|   string|   null|
+--------+---------+-------+
INFO   | Soda Core 3.0.13
DEBUG  | Reading configuration file "sodacl_spark_df/configuration.yml"
...
INFO   | Oops! 1 failures. 0 warnings. 0 errors. 0 pass.
INFO   | Sending results to Soda Cloud

from soda-core.

vijaykiran avatar vijaykiran commented on June 9, 2024

Should be fixed in 3.0.16.

from soda-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.