Posts

Showing posts with the label sql-functions

Featured Post

8 Ways to Optimize AWS Glue Jobs in a Nutshell

Image
  Improving the performance of AWS Glue jobs involves several strategies that target different aspects of the ETL (Extract, Transform, Load) process. Here are some key practices. 1. Optimize Job Scripts Partitioning : Ensure your data is properly partitioned. Partitioning divides your data into manageable chunks, allowing parallel processing and reducing the amount of data scanned. Filtering : Apply pushdown predicates to filter data early in the ETL process, reducing the amount of data processed downstream. Compression : Use compressed file formats (e.g., Parquet, ORC) for your data sources and sinks. These formats not only reduce storage costs but also improve I/O performance. Optimize Transformations : Minimize the number of transformations and actions in your script. Combine transformations where possible and use DataFrame APIs which are optimized for performance. 2. Use Appropriate Data Formats Parquet and ORC : These columnar formats are efficient for storage and querying, signif

4 Built-in functions in SQL Explained Superbly

Image
Here're four types of built-in functions in SQL. You don't need to create these functions, and these come with your SQL. I am discussing today the  SQL functions List . SQL functions DATE-TIME functions Numeric functions Char functions Null-related functions 1. DATE-TIME functions   These are useful to get DATE and Time. Also, you can covert the DATE and TIME to Char. These are TO_CHAR, CURRENT_DATE, and CURRENT_TIME. 2. Numeric Functions   These functions you can use for numeric calculations. Those are TRUNC, SIGN, ROUND, ABS. 3. Char Functions   To handle string-related tasks you can use CHAR functions. The CHAR functions are like SUBSTR, CONCAT, LENGTH. 4. NULL related functions   To handle null values you can use different functions. Those are COALESCE, NVL, NULLIF This post covered all your answers for the SQL functions list, SQL built-in functions in Oracle, and SQL functions in any DBMS. Also, Read SQL tips to improve Query performance Summar