Comments (5)
So you are saying it should just send a warning rather than produce an error.
The problem with just sending a warning would be that you basically have properties in your config that might be silently ignored. That would probably be worse.
So I think the behavior in the spilling is actually the bug.
What you can do for now is just comment out the lines ...
from trino.
Just had a discussion with @martint and @dain -- essentially the behavior with fs.cache
is correct, and the behavior with spill-enabled
is a bug.
from trino.
I do no see what is wrong with conditional settings that are ignored? To me, that's not an uncommon thing for config files. Then again, neither is commented out options. :)
I did indeed comment them out because the server errored. But what's the point of = false if = false and comment out are the same?
To me these 4 are equivalent
cache.enabled = false
# cache.enabled = false
# cache.enabled = true
<nothing>
The only difference is the first and last ones causes the server to not start if other settings are set.
I was thinking no warnings or errors.
cache.enabled is there and true, check for required fields.
If not, ignore those required fields.
By commenting them out, that's a sign they are not needed. Then if they are removed potentially valuable information(the directory/size and other settings) could be lost. However I can see if they were old bad settings they'd might silently just work.
I am fine with either way really. It just seemed odd to me, thus the bug.
from trino.
Setting spill configuration when spill is disabled is a bug, not the other way around
from trino.
There is really no right answer with this .. and the Trino convention is as implemented for caching. I will therefore close this bug. If anyone wants to send a PR to fix the behavior for spilling .. that would be good but can be tracked separately.
from trino.
Related Issues (20)
- Flaky test TestPinotConnectorTest
- Document table_changes table function in Iceberg connector HOT 2
- Regression: Sql planner fails with contract violation error HOT 1
- OAuth2: Trino validates OAuth2 token with null audience claims when additional-audiences configured
- ST_Contains for SphericalGeography
- Flaky test TestCassandraConnectorTest.testSelectInformationSchemaColumns
- Flaky test TestTrinoCli.shouldPrintExplainAnalyzePlan
- Phoenix transaction handling is non thread safe HOT 1
- Resource groups failure when processing group usage: negative CPU millis duration HOT 1
- trino server behind nginx
- can't access trino-parsable data type using `describe` or using `information_schema.columns` HOT 1
- Delta Lake Rename Table Mismatch Between Documentation and Runtime Behavior HOT 1
- AggregationMask generated code throws IllegalArgumentException: Invalid position %d in block with %d positions HOT 4
- Support Creating Materialized Views in Delta Catalogs
- Conditional aggregation fails with: Invalid position %s in block with %s positions HOT 6
- how to config kafka consume group for kafka connector
- Order by limit sorting problem, is there any forced sorting configuration? HOT 2
- Server refused connection: http:xxxxx:8084 HOT 1
- Configuration properties for kafka connector is not proper HOT 3
- TestIcebergSparkCompatibility.testRegisterTableWithShowCreateTable flaky HOT 1
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 trino.