Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .databricks/commit_outputs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

# .databricks/commit_outputs file is used to control whether a notebook's output should be included when committing changes to Git.
# Outputs are included/excluded at a per notebook level, committing select outputs within a specific notebook is not feasible.
#
# Reference:
# each line in .databricks/commit_outputs represents a glob pattern
# line starting with # represents a comment
# notebook that matches a glob pattern will have output included
# line starting with ! represents a exclusion pattern (i.e. !folder_a/\* will exclude output for all notebooks in folder_a)
# if a notebook path matches multiple glob patterns, the last matching glob pattern will be used
# note that glob patterns are case sensitive
# more examples can be found here: https://docs.databricks.com/repos/repos-setup.html#patterns-for-a-repo-config-file

# Uncomment the following pattern to include output for all notebooks
# **

189 changes: 189 additions & 0 deletions DE_Bronze/Support Ticket 2026-01-25.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {
"byteLimit": 2048000,
"rowLimit": 10000
},
"inputWidgets": {},
"nuid": "e133225d-daf5-4fd9-8a8b-39607eb6aad8",
"showTitle": false,
"tableResultSettingsMap": {},
"title": ""
}
},
"outputs": [],
"source": [
"spark.read.format(\"csv\").load(\"/Volumes/de_use_cases/support_tickets/support_tickets_volume\")"
]
},
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {
"byteLimit": 2048000,
"rowLimit": 10000
},
"inputWidgets": {},
"nuid": "89e19a3b-6c44-47a4-8129-11493db2b9c7",
"showTitle": false,
"tableResultSettingsMap": {},
"title": ""
}
},
"outputs": [],
"source": [
"df = spark.read.format(\"csv\").load(\"/Volumes/de_use_cases/support_tickets/support_tickets_volume\")\n",
"display(df)"
]
},
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {
"byteLimit": 2048000,
"rowLimit": 10000
},
"inputWidgets": {},
"nuid": "d801d834-febb-4194-ab63-439936717660",
"showTitle": true,
"tableResultSettingsMap": {},
"title": "Cell 3"
}
},
"outputs": [],
"source": [
"df = spark.read.format(\"csv\")\\\n",
" .option(\"header\", \"true\")\\\n",
" .load(\"/Volumes/de_use_cases/support_tickets/support_tickets_volume\")"
]
},
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {
"byteLimit": 2048000,
"rowLimit": 10000
},
"inputWidgets": {},
"nuid": "c8819041-dcf6-4e84-b951-85bba991fc4a",
"showTitle": false,
"tableResultSettingsMap": {},
"title": ""
}
},
"outputs": [],
"source": [
"display(df)"
]
},
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {
"byteLimit": 2048000,
"rowLimit": 10000
},
"inputWidgets": {},
"nuid": "0cfbe491-6aa1-4aa2-9c80-cd5a8a704f61",
"showTitle": false,
"tableResultSettingsMap": {},
"title": ""
}
},
"outputs": [],
"source": [
"df = spark.read.format(\"csv\")\\\n",
" .option(\"header\", \"true\")\\\n",
" .option(\"inferSchema\", \"true\")\\\n",
" .load(\"/Volumes/de_use_cases/support_tickets/support_tickets_volume\")"
]
},
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {
"byteLimit": 2048000,
"rowLimit": 10000
},
"inputWidgets": {},
"nuid": "eb48ec44-0ebf-4c79-9140-6d4ce56010e6",
"showTitle": true,
"tableResultSettingsMap": {},
"title": "Cell 6"
}
},
"outputs": [],
"source": [
"from pyspark.sql.types import StructType, StructField, StringType, DateType\n",
"schema = StructType([\n",
" StructField(\"ticket_id\", StringType(), True),\n",
" StructField(\"description\", StringType(), True),\n",
" StructField(\"status\", StringType(), True),\n",
" StructField(\"created_date\", DateType(), True)\n",
"])\n",
"df = spark.read.format(\"csv\")\\\n",
" .option(\"header\", \"true\")\\\n",
" .schema(schema)\\\n",
" .load(\"/Volumes/de_use_cases/support_tickets/support_tickets_volume\")"
]
},
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {
"byteLimit": 2048000,
"rowLimit": 10000
},
"inputWidgets": {},
"nuid": "5ab20122-5e65-49db-8867-d9a972fcd9f5",
"showTitle": false,
"tableResultSettingsMap": {},
"title": ""
}
},
"outputs": [],
"source": [
"display(df)"
]
}
],
"metadata": {
"application/vnd.databricks.v1+notebook": {
"computePreferences": null,
"dashboards": [],
"environmentMetadata": {
"base_environment": "",
"environment_version": "4"
},
"inputWidgetPreferences": null,
"language": "python",
"notebookMetadata": {
"pythonIndentUnit": 4
},
"notebookName": "Support Ticket 2026-01-25",
"widgets": {}
},
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
48 changes: 48 additions & 0 deletions DE_Bronze/Testing myname in job 2026-01-25.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {
"byteLimit": 2048000,
"rowLimit": 10000
},
"inputWidgets": {},
"nuid": "6fb1bed7-f8b1-4898-888f-be65e19bead3",
"showTitle": false,
"tableResultSettingsMap": {},
"title": ""
}
},
"outputs": [],
"source": [
"print(\"Hello Jagadeesh Reddy\")\n",
"print(\"Here am running below code for you :)\")"
]
}
],
"metadata": {
"application/vnd.databricks.v1+notebook": {
"computePreferences": null,
"dashboards": [],
"environmentMetadata": {
"base_environment": "",
"environment_version": "4"
},
"inputWidgetPreferences": null,
"language": "python",
"notebookMetadata": {
"pythonIndentUnit": 4
},
"notebookName": "Testing myname in job 2026-01-25",
"widgets": {}
},
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
Loading