MCPcopy Create free account

hub / github.com/SouravRoy-ETL/slothdb / functions

Functions2,343 in github.com/SouravRoy-ETL/slothdb

↓ 1 callersMethodGroupByCodes
src/execution/dictionary_vector.cpp:48
↓ 1 callersFunctionGzipDecompress
Decompress a Parquet GZIP page. The Parquet GZIP codec wraps a raw deflate stream in the standard RFC 1952 gzip envelope; we strip the header (and ign
src/storage/parquet.cpp:650
↓ 1 callersMethodHasPushdownFilters
src/execution/physical_planner.cpp:1010
↓ 1 callersMethodHashAggregate
src/execution/gpu/gpu_engine.cpp:131
↓ 1 callersFunctionHashBigKey
Composite key hasher matching RadixMultiAggBigKey's BigKeyHash so the shard distribution stays consistent. Mum-style mix of two 64-bit hashes.
src/execution/inline_row_agg.cpp:276
↓ 1 callersFunctionHomeDir
src/ask/embedded_llm.cpp:29
↓ 1 callersMethodIncrementByDictRG
src/execution/radix_count_agg.cpp:189
↓ 1 callersMethodIncrementByDictRGSkipDi
src/execution/radix_count_agg.cpp:257
↓ 1 callersMethodIngestDictRG
src/execution/radix_count_agg.cpp:488
↓ 1 callersMethodIngestKey
src/execution/radix_count_agg.cpp:532
↓ 1 callersMethodIngestPlainRG
src/execution/radix_count_agg.cpp:519
↓ 1 callersFunctionIngestRGGstrIntDistinctDict
src/execution/str_group_distinct.cpp:47
↓ 1 callersFunctionIngestRGGstrIntDistinctDictSkipDi
src/execution/str_group_distinct.cpp:123
↓ 1 callersFunctionIngestRGGstrIntDistinctPlain
src/execution/str_group_distinct.cpp:143
↓ 1 callersMethodIngestRGStrIntDistinct
Stage 1 inner loop. Per-row IncrementByHashed on (int, str) pairs. Specialized for the gstr × int distinct shape: dict path with precomputed per-dict-
src/execution/radix_count_agg.cpp:992
↓ 1 callersMethodIngestRGStrIntDistinctSkipDi
Skip-di variant: SearchPhrase<>'' folded into dict-idx skip.
src/execution/radix_count_agg.cpp:1112
↓ 1 callersMethodIngestRGTwoColCount
Two-column inner loop body. Per-RG ingest of (int_key, dict_idx) → count. Precomputes per-dict-entry hash once per RG (~10-30 ns saved per row), then
src/execution/radix_count_agg.cpp:1149
↓ 1 callersMethodIngestRGTwoColCountSkipDi
src/execution/radix_count_agg.cpp:1264
↓ 1 callersMethodInitParallelScan
src/storage/data_table.cpp:63
↓ 1 callersMethodIsAtEnd
src/parser/parser.cpp:174
↓ 1 callersMethodIsEOF
include/slothdb/storage/csv_reader.hpp:47
↓ 1 callersMethodIsFull
include/slothdb/storage/row_group.hpp:21
↓ 1 callersFunctionIsIdentContinue
An identifier "continue" byte: ASCII alnum / underscore, OR any high-bit byte (>= 0x80). Accepting high-bit bytes lets UTF-8 characters (Chinese, Japa
src/parser/tokenizer.cpp:167
↓ 1 callersMethodIsIncrementalEligible
v2: incremental append. When the live view is a simple `SELECT * FROM '<csv>'` and the file grows without the leading bytes changing, parse only the n
include/slothdb/catalog/table_catalog_entry.hpp:68
↓ 1 callersFunctionIsSQLReservedOrBuiltin
SQL keywords, common builtins, and typical aliases we never flag as "not in schema". Conservative: if a token matches any of these, it's definitely no
src/ask/embedded_llm.cpp:409
↓ 1 callersMethodIsView
Virtual view support: stores the original SQL query for re-execution.
include/slothdb/catalog/table_catalog_entry.hpp:46
↓ 1 callersMethodListFunctions
src/extension/extension_manager.cpp:301
↓ 1 callersMethodListTables
src/storage/sqlite_scanner.cpp:218
↓ 1 callersMethodLiveGroupCount
src/execution/radix_count_agg.cpp:980
↓ 1 callersFunctionLogicalTypeIdToString
src/common/types/logical_type.cpp:156
↓ 1 callersFunctionLogicalTypeToArrowId
Type ID for our simplified format.
src/storage/arrow_ipc.cpp:16
↓ 1 callersMethodMarkIncrementalEligible
include/slothdb/catalog/table_catalog_entry.hpp:69
↓ 1 callersMethodMarkLiveView
include/slothdb/catalog/table_catalog_entry.hpp:55
↓ 1 callersMethodMatch
src/parser/parser.cpp:52
↓ 1 callersFunctionMatchColEqLiteralEmit
src/execution/physical_planner.cpp:13867
↓ 1 callersFunctionMatchFileSource
Rules that fire on a file-source intent - no schema lookup needed. The file may not even be imported yet; that is the point. Covers the four common sh
src/ask/nl_to_sql.cpp:407
↓ 1 callersFunctionMaterialiseStrDataLazy
src/storage/parquet_lazy_strdata.cpp:5
↓ 1 callersMethodMergeAll
src/execution/int_group_agg.cpp:116
↓ 1 callersFunctionMergeStrGroupIntDistinct
src/execution/str_group_distinct.cpp:223
↓ 1 callersFunctionNormalize
Strip stopwords but keep positional tokens that matter for patterns ("how many", "top N", "per", "by", "in"). Preserves order.
src/ask/nl_to_sql.cpp:189
↓ 1 callersFunctionNormalizeIdentifiers
src/ask/embedded_llm.cpp:504
↓ 1 callersMethodOpenFile
src/storage/block_manager.cpp:17
↓ 1 callersFunctionParallelFor
include/slothdb/common/parallel.hpp:45
↓ 1 callersMethodParallelScan
src/storage/data_table.cpp:75
↓ 1 callersFunctionParquetToLogicalType
src/storage/parquet.cpp:760
↓ 1 callersFunctionParseCmpOp
src/execution/physical_planner.cpp:137
↓ 1 callersFunctionParseColumnChunkStruct
src/storage/parquet.cpp:285
↓ 1 callersFunctionParseColumnMeta
src/storage/parquet.cpp:304
↓ 1 callersFunctionParseDataPageHeader
src/storage/parquet.cpp:403
↓ 1 callersFunctionParseDataPageV2Header
src/storage/parquet.cpp:431
↓ 1 callersFunctionParseDictPageHeader
src/storage/parquet.cpp:418
↓ 1 callersFunctionParseFileMeta
Returns false if the footer isn't a valid Thrift FileMetaData.
src/storage/parquet.cpp:355
↓ 1 callersFunctionParsePageHeader
Parse a PageHeader. Returns bytes consumed.
src/storage/parquet.cpp:453
↓ 1 callersFunctionParseRowGroup
src/storage/parquet.cpp:336
↓ 1 callersFunctionParseSchemaElement
src/storage/parquet.cpp:268
↓ 1 callersMethodParseStatement
src/parser/parser.cpp:190
↓ 1 callersFunctionParseStatistics
src/storage/parquet.cpp:229
↓ 1 callersMethodPlan
src/execution/physical_planner.cpp:13720
↓ 1 callersFunctionQuoteMultiWordAliases
Wrap multi-word AS aliases in double quotes. Qwen sometimes emits `COUNT(*) AS Total Customers` which the parser rejects because `Customers` starts a
src/ask/embedded_llm.cpp:165
↓ 1 callersFunctionQuoteSchemaIdents
Post-process the model's SQL: wrap any schema identifier that contains a space with double quotes, unless it is already quoted or is inside a string l
src/ask/embedded_llm.cpp:571
↓ 1 callersMethodReadChunk
src/storage/fast_csv_reader.cpp:483
↓ 1 callersFunctionReadColumnChunkLegacy
Legacy (custom-format) column chunk reader - reads from the mapped buffer.
src/storage/parquet.cpp:1369
↓ 1 callersFunctionReadColumnChunkStd
Standard-Parquet column chunk reader - reads from the mapped buffer.
src/storage/parquet.cpp:1588
↓ 1 callersMethodReadIntoTable
src/storage/csv_reader.cpp:287
↓ 1 callersFunctionRenderDDL
Render a DDL block for the prompt. Capped at 20 tables - enough for realistic shell sessions, prevents the prompt from exploding if the user has an en
src/ask/embedded_llm.cpp:69
↓ 1 callersFunctionRenderPromptQwen
Build the chat-formatted prompt. Qwen2.5 uses the ChatML format (<|im_start|>...<|im_end|>). We render that directly - llama.cpp's chat-template API w
src/ask/embedded_llm.cpp:94
↓ 1 callersMethodRequestStop
Signal in-flight workers to stop picking new RGs. Workers that have already started decoding the current RG finish it; remaining undecoded RGs are dro
src/execution/physical_planner.cpp:1068
↓ 1 callersMethodResolveColumn
src/binder/binder.cpp:33
↓ 1 callersFunctionResolveResultDisplayType
Resolve the DISPLAY logical type for one SELECT-list expression so a Parquet DATE / TIMESTAMP column renders as an ISO string. The engine carries DATE
src/main/connection.cpp:68
↓ 1 callersMethodResolveTypeName
src/binder/binder.cpp:1008
↓ 1 callersFunctionRewriteFileAliases
Rewrite FROM/JOIN references to a file-source alias back to the real path as a single-quoted file literal. Qwen reads the "-- File source" hint in the
src/ask/embedded_llm.cpp:274
↓ 1 callersMethodRollbackTransaction
src/main/connection.cpp:2249
↓ 1 callersMethodRowGroupCount
Number of row groups (for parallel scheduling).
include/slothdb/storage/data_table.hpp:63
↓ 1 callersFunctionRunCountGroupAggregate
src/execution/count_group_agg.cpp:141
↓ 1 callersMethodScale
include/slothdb/common/types/logical_type.hpp:56
↓ 1 callersMethodScan
src/storage/data_table.cpp:42
↓ 1 callersMethodScan
src/storage/row_group.cpp:31
↓ 1 callersMethodScatterRow
src/execution/radix_count_agg.cpp:38
↓ 1 callersMethodSetArrowPath
include/slothdb/catalog/table_catalog_entry.hpp:85
↓ 1 callersMethodSetAvroPath
include/slothdb/catalog/table_catalog_entry.hpp:84
↓ 1 callersMethodSetCommitTimestamp
include/slothdb/transaction/transaction.hpp:40
↓ 1 callersMethodSetJsonPath
include/slothdb/catalog/table_catalog_entry.hpp:83
↓ 1 callersMethodSetNeededOutputs
src/execution/literal_emit_filter.cpp:17
↓ 1 callersMethodSetParentProjectionCols
Parent-projection pushdown: when a PhysicalProjection above this OrderBy only references columns {c1, c2, ...}, pass-2 of CollectTopN_Primitive (which
src/execution/physical_planner.cpp:1947
↓ 1 callersMethodSetPos
include/slothdb/storage/fast_csv_reader.hpp:73
↓ 1 callersMethodSetPushdownFilters
src/execution/physical_planner.cpp:1007
↓ 1 callersMethodSetSQLitePath
include/slothdb/catalog/table_catalog_entry.hpp:86
↓ 1 callersMethodSetStartRow
Reset start_row_ - used when splicing row groups built by parallel workers into a DataTable; the worker builds with start_row_=0 and the splice step r
include/slothdb/storage/row_group.hpp:20
↓ 1 callersMethodSetStrDictUsedOnly
Per-column hint: decoder writes only str_dict_used bitmap (skip str_dict_indices materialization). Used by the top-N VARCHAR dispatch when we need an
src/execution/physical_planner.cpp:970
↓ 1 callersMethodSetTopNHint
Translate TopN hint's output col_idx through this projection. If expressions_[col_idx] is a simple ColumnRef, we can forward the underlying input col_
src/execution/physical_planner.cpp:1822
↓ 1 callersMethodSetTwoPhaseDecode
src/execution/physical_planner.cpp:985
↓ 1 callersMethodSetType
Re-tag the logical type WITHOUT touching the backing buffer. Only safe when the new type shares this vector's physical layout (e.g. swapping INTEGER<-
include/slothdb/common/types/vector.hpp:96
↓ 1 callersMethodSetValue
src/common/types/data_chunk.cpp:27
↓ 1 callersMethodSetViewQuery
include/slothdb/catalog/table_catalog_entry.hpp:47
↓ 1 callersMethodSetWatchedFile
include/slothdb/catalog/table_catalog_entry.hpp:56
↓ 1 callersMethodSize
src/execution/gpu/gpu_engine.cpp:24
↓ 1 callersFunctionSkipGzipHeader
Skip the gzip header (RFC 1952) and return a pointer to the start of the raw deflate stream, or nullptr on malformed header. miniz doesn't support the
src/storage/parquet.cpp:616
↓ 1 callersFunctionSnappyDecompress
--- Snappy decompressor. Calls into vendored google/snappy 1.2.1 (third_party/snappy/) for the SSSE3 16-byte literal-shuffle + IncrementalCopy back-re
src/storage/parquet.cpp:44
↓ 1 callersMethodSortIndices
src/execution/gpu/gpu_engine.cpp:89
↓ 1 callersMethodSumDouble
src/execution/gpu/gpu_engine.cpp:76
← previousnext →601–700 of 2,343, ranked by callers