Comments (3)
SODA-1278
from soda-core.
@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.
Should be fixed in 3.0.16.
from soda-core.
Related Issues (20)
- `sample_context` does not contain `check_name` if using a fail expression HOT 1
- Athena: Incorrect catalog column name for column metadata. HOT 1
- Fetch generated SQL queries for the checks configured in context HOT 5
- Duplicate row samples fails with dotted field name for BQ nested column (struct) HOT 1
- MS SQL Server sources table- and column handling issue HOT 2
- pandas dask tutorial warnings/errors HOT 2
- Presto as a data source HOT 2
- Review added at repo-reviews.github.io HOT 1
- Remove duckdb version constrain HOT 1
- invalid_count block other tests execution HOT 2
- OAuth connection for Trino/Starburst HOT 1
- Add prerequisite option to check configuration HOT 1
- SodaCore 3.0.48 is not compatible with Airflow 2.7 HOT 2
- Duplicate count throw TypeError if column not exist HOT 2
- Parser does not support otherwise legal table valued functions HOT 1
- [test] Testing the updated integration HOT 1
- Profiler frequent_values Error When There's only one unique value in column: Source - Trino HOT 2
- Error connection with SQL and param string Trusted_Connection=True HOT 4
- Schema checks not working for DuckDB connection HOT 4
- Antlr doesn't parse composite threshold in freshness check HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soda-core.