jonathon
|
[34]
|
ecb3129b-9429-40bb-b1cd-f300b33f73c0
|
2025/06/13 07:55:32
|
2025/06/13 07:55:32
|
2025/06/13 07:55:32
|
200 ms
|
357 ms
|
SELECT C_43 AS C_12, C_1 AS C_16, C_2 AS C_14, C_4331 AS C_17, C_4332 AS C_13, C_4333 AS C_15, C_8 AS C_19, C_9 AS C_21, C_5 AS C_18, C_6 AS C_20, C_7 AS C_22, C_10 AS C_24, C_11 AS C_23, C_3 AS C_25 FROM (SELECT C_64656661756c745f616972706f727473.`id` AS C_43, C_64656661756c745f616972706f727473.`type` AS C_1, C_64656661756c745f616972706f727473.`name` AS C_2, C_64656661756c745f616972706f727473.`lat` AS C_4, C_64656661756c745f616972706f727473.`lon` AS C_0, C_64656661756c745f616972706f727473.`elev` AS C_3, C_64656661756c745f616972706f727473.`continent` AS C_8, C_64656661756c745f616972706f727473.`country` AS C_9, C_64656661756c745f616972706f727473.`region` AS C_5, C_64656661756c745f616972706f727473.`city` AS C_6, C_64656661756c745f616972706f727473.`iata` AS C_7, C_64656661756c745f616972706f727473.`code` AS C_10, C_64656661756c745f616972706f727473.`gps` AS C_11, (round((C_64656661756c745f616972706f727473.`lat` * power(1.000000000000000E+001, 3)), 0) / power(1.000000000000000E+001, 3)) AS C_4331, (round((C_64656661756c745f616972706f727473.`lon` * power(1.000000000000000E+001, 3)), 0) / power(1.000000000000000E+001, 3)) AS C_4332, (round((C_64656661756c745f616972706f727473.`elev` * power(1.000000000000000E+001, 3)), 0) / power(1.000000000000000E+001, 3)) AS C_4333 FROM `default`.`airports` C_64656661756c745f616972706f727473 WHERE ((C_64656661756c745f616972706f727473.`lon` <= (- 1.040500000000000E+002)) AND (C_64656661756c745f616972706f727473.`lon` >= (- 1.110500000000000E+002)) AND (C_64656661756c745f616972706f727473.`lat` >= 4.100000000000000E+001) AND (C_64656661756c745f616972706f727473.`lat` <= 4.500000000000000E+001)) ) C_4954424c ORDER BY C_25 DESC LIMIT 5
|
CLOSED
|
== Parsed Logical Plan ==
+details
== Parsed Logical Plan ==
'GlobalLimit 5
+- 'LocalLimit 5
+- 'Sort ['C_25 DESC NULLS LAST], true
+- 'Project ['C_43 AS C_12#2264, 'C_1 AS C_16#2265, 'C_2 AS C_14#2266, 'C_4331 AS C_17#2267, 'C_4332 AS C_13#2268, 'C_4333 AS C_15#2269, 'C_8 AS C_19#2270, 'C_9 AS C_21#2271, 'C_5 AS C_18#2272, 'C_6 AS C_20#2273, 'C_7 AS C_22#2274, 'C_10 AS C_24#2275, 'C_11 AS C_23#2276, 'C_3 AS C_25#2277]
+- 'SubqueryAlias C_4954424c
+- 'Project ['C_64656661756c745f616972706f727473.id AS C_43#2248, 'C_64656661756c745f616972706f727473.type AS C_1#2249, 'C_64656661756c745f616972706f727473.name AS C_2#2250, 'C_64656661756c745f616972706f727473.lat AS C_4#2251, 'C_64656661756c745f616972706f727473.lon AS C_0#2252, 'C_64656661756c745f616972706f727473.elev AS C_3#2253, 'C_64656661756c745f616972706f727473.continent AS C_8#2254, 'C_64656661756c745f616972706f727473.country AS C_9#2255, 'C_64656661756c745f616972706f727473.region AS C_5#2256, 'C_64656661756c745f616972706f727473.city AS C_6#2257, 'C_64656661756c745f616972706f727473.iata AS C_7#2258, 'C_64656661756c745f616972706f727473.code AS C_10#2259, 'C_64656661756c745f616972706f727473.gps AS C_11#2260, ('round(('C_64656661756c745f616972706f727473.lat * 'power(10.0, 3)), 0) / 'power(10.0, 3)) AS C_4331#2261, ('round(('C_64656661756c745f616972706f727473.lon * 'power(10.0, 3)), 0) / 'power(10.0, 3)) AS C_4332#2262, ('round(('C_64656661756c745f616972706f727473.elev * 'power(10.0, 3)), 0) / 'power(10.0, 3)) AS C_4333#2263]
+- 'Filter ((('C_64656661756c745f616972706f727473.lon <= -104.05) AND ('C_64656661756c745f616972706f727473.lon >= -111.05)) AND (('C_64656661756c745f616972706f727473.lat >= 41.0) AND ('C_64656661756c745f616972706f727473.lat <= 45.0)))
+- 'SubqueryAlias C_64656661756c745f616972706f727473
+- 'UnresolvedRelation [default, airports], [], false
== Analyzed Logical Plan ==
C_12: string, C_16: string, C_14: string, C_17: double, C_13: double, C_15: double, C_19: string, C_21: string, C_18: string, C_20: string, C_22: string, C_24: string, C_23: string, C_25: double
GlobalLimit 5
+- LocalLimit 5
+- Sort [C_25#2277 DESC NULLS LAST], true
+- Project [C_43#2248 AS C_12#2264, C_1#2249 AS C_16#2265, C_2#2250 AS C_14#2266, C_4331#2261 AS C_17#2267, C_4332#2262 AS C_13#2268, C_4333#2263 AS C_15#2269, C_8#2254 AS C_19#2270, C_9#2255 AS C_21#2271, C_5#2256 AS C_18#2272, C_6#2257 AS C_20#2273, C_7#2258 AS C_22#2274, C_10#2259 AS C_24#2275, C_11#2260 AS C_23#2276, C_3#2253 AS C_25#2277]
+- SubqueryAlias C_4954424c
+- Project [id#2278 AS C_43#2248, type#2279 AS C_1#2249, name#2280 AS C_2#2250, lat#2281 AS C_4#2251, lon#2282 AS C_0#2252, elev#2283 AS C_3#2253, continent#2284 AS C_8#2254, country#2285 AS C_9#2255, region#2286 AS C_5#2256, city#2287 AS C_6#2257, iata#2288 AS C_7#2258, code#2289 AS C_10#2259, gps#2290 AS C_11#2260, (round((lat#2281 * POWER(10.0, cast(3 as double))), 0) / POWER(10.0, cast(3 as double))) AS C_4331#2261, (round((lon#2282 * POWER(10.0, cast(3 as double))), 0) / POWER(10.0, cast(3 as double))) AS C_4332#2262, (round((elev#2283 * POWER(10.0, cast(3 as double))), 0) / POWER(10.0, cast(3 as double))) AS C_4333#2263]
+- Filter (((lon#2282 <= -104.05) AND (lon#2282 >= -111.05)) AND ((lat#2281 >= 41.0) AND (lat#2281 <= 45.0)))
+- SubqueryAlias C_64656661756c745f616972706f727473
+- SubqueryAlias spark_catalog.default.airports
+- Relation spark_catalog.default.airports[id#2278,type#2279,name#2280,lat#2281,lon#2282,elev#2283,continent#2284,country#2285,region#2286,city#2287,iata#2288,code#2289,gps#2290] parquet
== Optimized Logical Plan ==
GlobalLimit 5
+- LocalLimit 5
+- Sort [C_25#2277 DESC NULLS LAST], true
+- Project [id#2278 AS C_12#2264, type#2279 AS C_16#2265, name#2280 AS C_14#2266, (round((lat#2281 * 1000.0), 0) / 1000.0) AS C_17#2267, (round((lon#2282 * 1000.0), 0) / 1000.0) AS C_13#2268, (round((elev#2283 * 1000.0), 0) / 1000.0) AS C_15#2269, continent#2284 AS C_19#2270, country#2285 AS C_21#2271, region#2286 AS C_18#2272, city#2287 AS C_20#2273, iata#2288 AS C_22#2274, code#2289 AS C_24#2275, gps#2290 AS C_23#2276, elev#2283 AS C_25#2277]
+- Filter ((isnotnull(lon#2282) AND isnotnull(lat#2281)) AND (((lon#2282 <= -104.05) AND (lon#2282 >= -111.05)) AND ((lat#2281 >= 41.0) AND (lat#2281 <= 45.0))))
+- Relation spark_catalog.default.airports[id#2278,type#2279,name#2280,lat#2281,lon#2282,elev#2283,continent#2284,country#2285,region#2286,city#2287,iata#2288,code#2289,gps#2290] parquet
== Physical Plan ==
TakeOrderedAndProject(limit=5, orderBy=[C_25#2277 DESC NULLS LAST], output=[C_12#2264,C_16#2265,C_14#2266,C_17#2267,C_13#2268,C_15#2269,C_19#2270,C_21#2271,C_18#2272,C_20#2273,C_22#2274,C_24#2275,C_23#2276,C_25#2277])
+- *(1) Project [id#2278 AS C_12#2264, type#2279 AS C_16#2265, name#2280 AS C_14#2266, (round((lat#2281 * 1000.0), 0) / 1000.0) AS C_17#2267, (round((lon#2282 * 1000.0), 0) / 1000.0) AS C_13#2268, (round((elev#2283 * 1000.0), 0) / 1000.0) AS C_15#2269, continent#2284 AS C_19#2270, country#2285 AS C_21#2271, region#2286 AS C_18#2272, city#2287 AS C_20#2273, iata#2288 AS C_22#2274, code#2289 AS C_24#2275, gps#2290 AS C_23#2276, elev#2283 AS C_25#2277]
+- *(1) Filter (((((isnotnull(lon#2282) AND isnotnull(lat#2281)) AND (lon#2282 <= -104.05)) AND (lon#2282 >= -111.05)) AND (lat#2281 >= 41.0)) AND (lat#2281 <= 45.0))
+- *(1) ColumnarToRow
+- FileScan parquet spark_catalog.default.airports[id#2278,type#2279,name#2280,lat#2281,lon#2282,elev#2283,continent#2284,country#2285,region#2286,city#2287,iata#2288,code#2289,gps#2290] Batched: true, DataFilters: [isnotnull(lon#2282), isnotnull(lat#2281), (lon#2282 <= -104.05), (lon#2282 >= -111.05), (lat#228..., Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/home/acdcadmin/spark-warehouse/airports], PartitionFilters: [], PushedFilters: [IsNotNull(lon), IsNotNull(lat), LessThanOrEqual(lon,-104.05), GreaterThanOrEqual(lon,-111.05), G..., ReadSchema: struct<id:string,type:string,name:string,lat:double,lon:double,elev:double,continent:string,count...
|
jonathon
|
|
9bb688da-63cc-4516-91e2-55d08768cd7b
|
2025/06/13 07:55:32
|
2025/06/13 07:55:32
|
2025/06/13 07:55:32
|
26 ms
|
182 ms
|
Listing columns 'catalog : null, schemaPattern : default, tablePattern : airports, columnName : null'
|
CLOSED
|
|
jonathon
|
|
8c1d5a44-065a-46f9-89e3-c8f7e342178f
|
2025/06/13 07:55:32
|
2025/06/13 07:55:32
|
2025/06/13 07:55:32
|
96 ms
|
252 ms
|
DESCRIBE default.airports
|
CLOSED
|
== Parsed Logical Plan ==
+details
== Parsed Logical Plan ==
'DescribeRelation false, [col_name#2225, data_type#2226, comment#2227]
+- 'UnresolvedTableOrView [default, airports], DESCRIBE TABLE, true
== Analyzed Logical Plan ==
col_name: string, data_type: string, comment: string
DescribeTableCommand `spark_catalog`.`default`.`airports`, false, [col_name#2225, data_type#2226, comment#2227]
== Optimized Logical Plan ==
CommandResult [col_name#2225, data_type#2226, comment#2227], Execute DescribeTableCommand, [[id,string,null], [type,string,null], [name,string,null], [lat,double,null], [lon,double,null], [elev,double,null], [continent,string,null], [country,string,null], [region,string,null], [city,string,null], [iata,string,null], [code,string,null], [gps,string,null]]
+- DescribeTableCommand `spark_catalog`.`default`.`airports`, false, [col_name#2225, data_type#2226, comment#2227]
== Physical Plan ==
CommandResult [col_name#2225, data_type#2226, comment#2227]
+- Execute DescribeTableCommand
+- DescribeTableCommand `spark_catalog`.`default`.`airports`, false, [col_name#2225, data_type#2226, comment#2227]
|
jonathon
|
|
a3f8b679-2dcb-4c49-9921-e22bc5f758a3
|
2025/06/13 07:55:31
|
2025/06/13 07:55:31
|
2025/06/13 07:55:32
|
94 ms
|
250 ms
|
DESCRIBE default.airports
|
CLOSED
|
== Parsed Logical Plan ==
+details
== Parsed Logical Plan ==
'DescribeRelation false, [col_name#2202, data_type#2203, comment#2204]
+- 'UnresolvedTableOrView [default, airports], DESCRIBE TABLE, true
== Analyzed Logical Plan ==
col_name: string, data_type: string, comment: string
DescribeTableCommand `spark_catalog`.`default`.`airports`, false, [col_name#2202, data_type#2203, comment#2204]
== Optimized Logical Plan ==
CommandResult [col_name#2202, data_type#2203, comment#2204], Execute DescribeTableCommand, [[id,string,null], [type,string,null], [name,string,null], [lat,double,null], [lon,double,null], [elev,double,null], [continent,string,null], [country,string,null], [region,string,null], [city,string,null], [iata,string,null], [code,string,null], [gps,string,null]]
+- DescribeTableCommand `spark_catalog`.`default`.`airports`, false, [col_name#2202, data_type#2203, comment#2204]
== Physical Plan ==
CommandResult [col_name#2202, data_type#2203, comment#2204]
+- Execute DescribeTableCommand
+- DescribeTableCommand `spark_catalog`.`default`.`airports`, false, [col_name#2202, data_type#2203, comment#2204]
|
jonathon
|
|
24b341de-4aa7-4439-9d38-e87f336daa63
|
2025/06/13 07:55:31
|
2025/06/13 07:55:31
|
2025/06/13 07:55:31
|
49 ms
|
203 ms
|
Listing columns 'catalog : null, schemaPattern : default, tablePattern : airports, columnName : null'
|
CLOSED
|
|
jonathon
|
|
eeddfd91-109c-4a73-a389-07106b8b68b8
|
2025/06/13 07:55:31
|
2025/06/13 07:55:31
|
2025/06/13 07:55:31
|
258 ms
|
418 ms
|
Listing tables 'catalog : null, schemaPattern : %, tableTypes : null, tableName : %'
|
CLOSED
|
|
jonathon
|
|
0b3af494-d430-4b8d-8d5c-c65a2a33f5fa
|
2025/06/13 07:55:30
|
2025/06/13 07:55:30
|
2025/06/13 07:55:30
|
40 ms
|
272 ms
|
set -v
|
CLOSED
|
== Parsed Logical Plan ==
+details
== Parsed Logical Plan ==
SetCommand (-v,None)
== Analyzed Logical Plan ==
key: string, value: string, meaning: string, Since version: string
SetCommand (-v,None)
== Optimized Logical Plan ==
CommandResult [key#2177, value#2178, meaning#2179, Since version#2180], Execute SetCommand, [[spark.sql.adaptive.advisoryPartitionSizeInBytes,<value of spark.sql.adaptive.shuffle.targetPostShuffleInputSize>,The advisory size in bytes of the shuffle partition during adaptive optimization (when spark.sql.adaptive.enabled is true). It takes effect when Spark coalesces small shuffle partitions or splits skewed shuffle partition.,3.0.0], [spark.sql.adaptive.autoBroadcastJoinThreshold,<undefined>,Configures the maximum size in bytes for a table that will be broadcast to all worker nodes when performing a join. By setting this value to -1 broadcasting can be disabled. The default value is same with spark.sql.autoBroadcastJoinThreshold. Note that, this config is used only in adaptive framework.,3.2.0], [spark.sql.adaptive.coalescePartitions.enabled,true,When true and 'spark.sql.adaptive.enabled' is true, Spark will coalesce contiguous shuffle partitions according to the target size (specified by 'spark.sql.adaptive.advisoryPartitionSizeInBytes'), to avoid too many small tasks.,3.0.0], [spark.sql.adaptive.coalescePartitions.initialPartitionNum,<undefined>,The initial number of shuffle partitions before coalescing. If not set, it equals to spark.sql.shuffle.partitions. This configuration only has an effect when 'spark.sql.adaptive.enabled' and 'spark.sql.adaptive.coalescePartitions.enabled' are both true.,3.0.0], [spark.sql.adaptive.coalescePartitions.minPartitionSize,1MB,The minimum size of shuffle partitions after coalescing. This is useful when the adaptively calculated target size is too small during partition coalescing.,3.2.0], [spark.sql.adaptive.coalescePartitions.parallelismFirst,true,When true, Spark does not respect the target size specified by 'spark.sql.adaptive.advisoryPartitionSizeInBytes' (default 64MB) when coalescing contiguous shuffle partitions, but adaptively calculate the target size according to the default parallelism of the Spark cluster. The calculated size is usually smaller than the configured target size. This is to maximize the parallelism and avoid performance regression when enabling adaptive query execution. It's recommended to set this config to false and respect the configured target size.,3.2.0], [spark.sql.adaptive.customCostEvaluatorClass,<undefined>,The custom cost evaluator class to be used for adaptive execution. If not being set, Spark will use its own SimpleCostEvaluator by default.,3.2.0], [spark.sql.adaptive.enabled,true,When true, enable adaptive query execution, which re-optimizes the query plan in the middle of query execution, based on accurate runtime statistics.,1.6.0], [spark.sql.adaptive.forceOptimizeSkewedJoin,false,When true, force enable OptimizeSkewedJoin even if it introduces extra shuffle.,3.3.0], [spark.sql.adaptive.localShuffleReader.enabled,true,When true and 'spark.sql.adaptive.enabled' is true, Spark tries to use local shuffle reader to read the shuffle data when the shuffle partitioning is not needed, for example, after converting sort-merge join to broadcast-hash join.,3.0.0], [spark.sql.adaptive.maxShuffledHashJoinLocalMapThreshold,0b,Configures the maximum size in bytes per partition that can be allowed to build local hash map. If this value is not smaller than spark.sql.adaptive.advisoryPartitionSizeInBytes and all the partition size are not larger than this config, join selection prefer to use shuffled hash join instead of sort merge join regardless of the value of spark.sql.join.preferSortMergeJoin.,3.2.0], [spark.sql.adaptive.optimizeSkewsInRebalancePartitions.enabled,true,When true and 'spark.sql.adaptive.enabled' is true, Spark will optimize the skewed shuffle partitions in RebalancePartitions and split them to smaller ones according to the target size (specified by 'spark.sql.adaptive.advisoryPartitionSizeInBytes'), to avoid data skew.,3.2.0], [spark.sql.adaptive.optimizer.excludedRules,<undefined>,Configures a list of rules to be disabled in the adaptive optimizer, in which the rules are specified by their rule names and separated by comma. The optimizer will log the rules that have indeed been excluded.,3.1.0], [spark.sql.adaptive.rebalancePartitionsSmallPartitionFactor,0.2,A partition will be merged during splitting if its size is small than this factor multiply spark.sql.adaptive.advisoryPartitionSizeInBytes.,3.3.0], [spark.sql.adaptive.skewJoin.enabled,true,When true and 'spark.sql.adaptive.enabled' is true, Spark dynamically handles skew in shuffled join (sort-merge and shuffled hash) by splitting (and replicating if needed) skewed partitions.,3.0.0], [spark.sql.adaptive.skewJoin.skewedPartitionFactor,5.0,A partition is considered as skewed if its size is larger than this factor multiplying the median partition size and also larger than 'spark.sql.adaptive.skewJoin.skewedPartitionThresholdInBytes',3.0.0], [spark.sql.adaptive.skewJoin.skewedPartitionThresholdInBytes,256MB,A partition is considered as skewed if its size in bytes is larger than this threshold and also larger than 'spark.sql.adaptive.skewJoin.skewedPartitionFactor' multiplying the median partition size. Ideally this config should be set larger than 'spark.sql.adaptive.advisoryPartitionSizeInBytes'.,3.0.0], [spark.sql.allowNamedFunctionArguments,true,If true, Spark will turn on support for named parameters for all functions that has it implemented.,3.5.0], [spark.sql.ansi.doubleQuotedIdentifiers,false,When true and 'spark.sql.ansi.enabled' is true, Spark SQL reads literals enclosed in double quoted (") as identifiers. When false they are read as string literals.,3.4.0], [spark.sql.ansi.enabled,false,When true, Spark SQL uses an ANSI compliant dialect instead of being Hive compliant. For example, Spark will throw an exception at runtime instead of returning null results when the inputs to a SQL operator/function are invalid.For full details of this dialect, you can find them in the section "ANSI Compliance" of Spark's documentation. Some ANSI dialect features may be not from the ANSI SQL standard directly, but their behaviors align with ANSI SQL's style,3.0.0], [spark.sql.ansi.enforceReservedKeywords,false,When true and 'spark.sql.ansi.enabled' is true, the Spark SQL parser enforces the ANSI reserved keywords and forbids SQL queries that use reserved keywords as alias names and/or identifiers for table, view, function, etc.,3.3.0], [spark.sql.ansi.relationPrecedence,false,When true and 'spark.sql.ansi.enabled' is true, JOIN takes precedence over comma when combining relation. For example, `t1, t2 JOIN t3` should result to `t1 X (t2 X t3)`. If the config is false, the result is `(t1 X t2) X t3`.,3.4.0], [spark.sql.autoBroadcastJoinThreshold,10MB,Configures the maximum size in bytes for a table that will be broadcast to all worker nodes when performing a join. By setting this value to -1 broadcasting can be disabled. Note that currently statistics are only supported for Hive Metastore tables where the command `ANALYZE TABLE <tableName> COMPUTE STATISTICS noscan` has been run, and file-based data source tables where the statistics are computed directly on the files of data.,1.1.0], [spark.sql.avro.compression.codec,snappy,Compression codec used in writing of AVRO files. Supported codecs: uncompressed, deflate, snappy, bzip2, xz and zstandard. Default codec is snappy.,2.4.0], ... 183 more fields]
+- SetCommand (-v,None)
== Physical Plan ==
CommandResult [key#2177, value#2178, meaning#2179, Since version#2180]
+- Execute SetCommand
+- SetCommand (-v,None)
|