TATECHATLAS
◎ English
TECHNOLOGY / KNOWLEDGE / PRACTICE

AI, programming, SQL, SAP and mathematics: guides and tips

Materials on AI, Python, Git, SQL, SAP/ERP, statistics and time series: explanations, examples, practical tips, sources and applicability limits.

Latest guides

25-48 / 140 materials

Entry Points in pyproject.toml

Learn to declare entry points in pyproject.toml using the three supported tables. Avoid nested subtables and duplicate definitions to prevent installation errors.

Python / Packaging / pyproject.toml / Entry Points / CLI / Scripts

Interpreting Data in HANA SQL Analyzer: Identifying Bottlenecks and Parallelism in Query Execution

The HANA SQL Analyzer provides a visual and detailed view of query execution plans, allowing developers to pinpoint performance bottlenecks, assess resource utilization, and evaluate the effectiveness of parallel processing. This guide details the steps to generate and interpret these execution files.

SAP HANA / SQL Analyzer / Performance Tuning / Execution Plan / SQL Optimization / Bottleneck Detection

Monitoring Plan Variants in SAP HANA Cloud with System Views

Track active Plan Variants in SAP HANA Cloud with M_SQL_PLAN_VARIANTS and their execution metrics via M_SQL_PLAN_VARIANT_STATISTICS, then interpret the data to detect and resolve performance fluctuations caused by suboptimal plan selection.

Plan Variants / SAP HANA Cloud / M_SQL_PLAN_VARIANTS / M_SQL_PLAN_VARIANT_STATISTICS / SQL performance / monitoring / system views

Using DummyRegressor as a Baseline to Interpret Regression Metrics

A regression metric like MAE=5 is meaningless without knowing what a constant predictor achieves on the same data. DummyRegressor provides that reference point, letting you judge whether your model captures real signal or merely reproduces central tendency.

DummyRegressor / baseline / MAE / regression metrics / scikit-learn / cross-validation / constant predictor / model evaluation

Separating Build Dependencies from Runtime Dependencies in pyproject.toml

To avoid version conflicts and ensure reproducible installs, use [build-system].requires for build tools only and [project].dependencies for runtime libraries. Pin exact versions in a separate requirements.txt generated with pip freeze or pip-compile.

pyproject.toml / dependencies / packaging / reproducibility / pip / pip-tools

Oracle String Concatenation and NULL Behavior Explained

Oracle treats empty strings as NULL but concatenates them as empty. This exception aids string building but harms portability and safety in checks. This article explains how NULL propagates through most Oracle operators, why concatenation is the sole exception, how SQL Server differs under SET ANSI_NULLS, and why explicit IS NULL and COALESCE handling is safer for cross-database designs.

Oracle / SQL / NULL / Concatenation / Portability / Best Practices

Using pip freeze and --no-deps for Repeatable and Secure Python Package Installation

pip freeze captures all direct and transitive dependencies in a requirements file, ensuring repeatable installations. Using --no-deps during installation adds a safety layer by preventing automatic installation of transitive dependencies. For stronger integrity guarantees, hash-checking mode with pip-compile --generate-hashes verifies downloaded artifacts, although no strategy fully eliminates repository or supply-chain risks.

pip / dependencies / install / freeze / no-deps / repeatable / security / requirements

Python json.dump Is Not a Framed Protocol: Why Repeated Calls Produce Invalid JSON and How to Serialize Multiple LLM Responses Safely

Python's json module explicitly warns that JSON lacks framing, so calling dump() twice on the same file object writes two adjacent documents that json.load() cannot parse. The fix is to collect objects into a list and dump once, or use newline-delimited JSON with raw_decode for streaming scenarios.

python / json / serialization / llm / json-lines / framing / json-schema / streaming

Managing Parallelism and Partitioning in SAP HANA Cloud with SQL Analyzer

Use SQL Analyzer to measure real parallelism and per-step record counts before partitioning, detect data skew on partition keys, and complement static partitioning with Plan Variants for parameterized workloads.

SAP HANA Cloud / SQL Analyzer / table partitioning / parallelism / data skew / Plan Variants / performance tuning / SAP Business Application Studio

Declaring and resolving extras in pyproject.toml, including self-referential groups

Each key under [project.optional-dependencies] becomes a Provides-Extra entry whose dependency array elements are gated by an environment marker, so pip only installs them when the user requests the bracket syntax. Self-referencing extras compose groups but require modern package managers.

pyproject.toml / optional-dependencies / extras / self-referential-extras / PEP-621 / packaging