"# LEFT JOIN ads.new_erp_sku_size size ON sku.SKU=size.SKU\n",
"# \t\t\t\t\t\t\t WHERE sku.状态 = \"启用\"\n",
"# \t\t\t\t\t\t\t AND EXISTS (SELECT 1 FROM ods.stg_bayshop_litfad_spu s1 where s1.`产品PID` = sku.`产品PID` AND s1.状态 = \"正常销售\" and s1.`产品分类` regexp \"light\") AND sku.添加时间 >=\"2024-01-01\"\n",
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 25%|██▌ | 10/40 [00:34<04:47, 9.58s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"119 结束\n",
"120 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 28%|██▊ | 11/40 [00:38<03:53, 8.07s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"当前批次数据写入完成\n",
"主表更新完成\n",
"120 结束\n",
"121 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 30%|███ | 12/40 [00:41<03:01, 6.47s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"当前批次数据写入完成\n",
"主表更新完成\n",
"121 结束\n",
"122 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 32%|███▎ | 13/40 [00:44<02:22, 5.28s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"当前批次数据写入完成\n",
"主表更新完成\n",
"122 结束\n",
"123 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 35%|███▌ | 14/40 [00:47<02:00, 4.65s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"当前批次数据写入完成\n",
"主表更新完成\n",
"123 结束\n",
"124 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 38%|███▊ | 15/40 [00:50<01:46, 4.27s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"当前批次数据写入完成\n",
"主表更新完成\n",
"124 结束\n",
"125 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 40%|████ | 16/40 [00:56<01:53, 4.71s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"当前批次数据写入完成\n",
"主表更新完成\n",
"125 结束\n",
"126 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 42%|████▎ | 17/40 [01:44<06:46, 17.66s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"126 结束\n",
"127 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 45%|████▌ | 18/40 [02:37<10:24, 28.39s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"127 结束\n",
"128 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 48%|████▊ | 19/40 [03:17<11:05, 31.67s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"128 结束\n",
"129 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 50%|█████ | 20/40 [03:51<10:51, 32.59s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"129 结束\n",
"130 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 52%|█████▎ | 21/40 [04:34<11:16, 35.63s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"130 结束\n",
"131 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 55%|█████▌ | 22/40 [05:31<12:35, 41.97s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"131 结束\n",
"132 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 57%|█████▊ | 23/40 [06:13<11:56, 42.13s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"132 结束\n",
"133 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 60%|██████ | 24/40 [07:04<11:53, 44.57s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"133 结束\n",
"134 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 62%|██████▎ | 25/40 [07:50<11:18, 45.22s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"134 结束\n",
"135 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 65%|██████▌ | 26/40 [08:35<10:31, 45.09s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"135 结束\n",
"136 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 68%|██████▊ | 27/40 [09:22<09:52, 45.54s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"136 结束\n",
"137 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 70%|███████ | 28/40 [09:26<06:37, 33.15s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"当前批次数据写入完成\n",
"主表更新完成\n",
"137 结束\n",
"138 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 72%|███████▎ | 29/40 [10:31<07:49, 42.68s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"138 结束\n",
"139 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n",
"主表更新完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 75%|███████▌ | 30/40 [11:49<08:53, 53.38s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"139 结束\n",
"140 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 78%|███████▊ | 31/40 [13:07<09:06, 60.74s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"140 结束\n",
"141 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 80%|████████ | 32/40 [13:17<06:04, 45.61s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"141 结束\n",
"142 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 82%|████████▎ | 33/40 [13:58<05:09, 44.25s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"142 结束\n",
"143 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n",
"主表更新完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 85%|████████▌ | 34/40 [15:06<05:07, 51.32s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"143 结束\n",
"144 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 88%|████████▊ | 35/40 [15:46<03:59, 47.85s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"144 结束\n",
"145 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"到这儿了\n",
"到这儿了\n",
"临时表清空完成\n",
"当前批次数据写入完成\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 90%|█████████ | 36/40 [16:53<03:34, 53.61s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"主表更新完成\n",
"145 结束\n",
"146 开始\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Admin\\AppData\\Local\\Temp\\ipykernel_34964\\4122513777.py:65: UserWarning: DataFrame columns are not unique, some columns will be omitted.\n",
" rows = df.to_dict(orient='records') # 转为 list of dict\n"