matteohexagon commented on issue #3014:
URL: https://github.com/apache/drill/issues/3014#issuecomment-3206632112

   1) yes i did 
   ```
   SELECT * FROM az.daily.`/2025/07/10/condenseAll_202507/orchestrator.log` 
LIMIT 10;
   ```
   works and it shows a result
   
   <img width="2556" height="661" alt="Image" 
src="https://github.com/user-attachments/assets/dc7a9ee8-01dc-4744-8d4f-60868a3fc165";
 />
   
   2) yes also this doesn't work
   
   
   ```
   UserRemoteException :        VALIDATION ERROR: From line 1, column 15 to 
line 1, column 28: Object '*.*' not found within 'az.daily'
       
   org.apache.drill.common.exceptions.UserRemoteException: VALIDATION ERROR: 
From line 1, column 15 to line 1, column 28: Object '*.*' not found within 
'az.daily'
   
   
   [Error Id: c241b198-b7cc-4129-a884-9986e7c29857 ]
   ```
   
   from the logs:
   ```
   025-08-20 14:12:05,525 [175a284a-2341-64d2-0986-625449009312:foreman] INFO  
o.a.drill.exec.work.foreman.Foreman - Query text for query with id 
175a284a-2341-64d2-0986-625449009312 issued by anonymous: SELECT * FROM 
az.daily.`*.*` LIMIT 10
   2025-08-20 14:12:05,609 [175a284a-2341-64d2-0986-625449009312:foreman] INFO  
o.a.d.e.p.s.conversion.SqlConverter - User Error Occurred: From line 1, column 
15 to line 1, column 28: Object '*.*' not found within 'az.daily' (From line 1, 
column 15 to line 1, column 28: Object '*.*' not found within 'az.daily')
   org.apache.drill.common.exceptions.UserException: VALIDATION ERROR: From 
line 1, column 15 to line 1, column 28: Object '*.*' not found within 'az.daily'
   
   
   [Error Id: c241b198-b7cc-4129-a884-9986e7c29857 ]
           at 
org.apache.drill.common.exceptions.UserException$Builder.build(UserException.java:688)
           at 
org.apache.drill.exec.planner.sql.conversion.SqlConverter.validate(SqlConverter.java:220)
           at 
org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler.validateNode(DefaultSqlHandler.java:662)
           at 
org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler.validateAndConvert(DefaultSqlHandler.java:198)
           at 
org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler.getPlan(DefaultSqlHandler.java:172)
           at 
org.apache.drill.exec.planner.sql.DrillSqlWorker.getQueryPlan(DrillSqlWorker.java:298)
           at 
org.apache.drill.exec.planner.sql.DrillSqlWorker.getPhysicalPlan(DrillSqlWorker.java:179)
           at 
org.apache.drill.exec.planner.sql.DrillSqlWorker.convertPlan(DrillSqlWorker.java:129)
           at 
org.apache.drill.exec.planner.sql.DrillSqlWorker.getPlan(DrillSqlWorker.java:94)
           at 
org.apache.drill.exec.work.foreman.Foreman.runSQL(Foreman.java:594)
           at org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:274)
           at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
           at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
           at java.base/java.lang.Thread.run(Thread.java:840)
   
   ```
   3) for completeness i tried your suggestion to add a wasbs configuration
   ```
   {
     "type": "file",
     "connection": "wasbs://<container>@<account>.blob.core.windows.net",
     "config": {
       "fs.azure.account.key.observercondenseddata.dfs.core.windows.net": "...",
       "fs.azure.createRemoteFileSystemDuringInitialization": "false",
       "fs.azure.io.list.recursive": "true",
       "fs.azure.account.auth.type": "SharedKey"
     },
     "workspaces": {
       "root": {
         "location": "/",
         "writable": false,
         "defaultInputFormat": null,
         "allowAccessOutsideWorkspace": false
       },
       "daily": {
         "location": "/prod-condenser-logs-1-day/",
         "writable": false,
         "defaultInputFormat": null,
         "allowAccessOutsideWorkspace": false
       },
       "monthly": {
         "location": "/prod-condenser-logs-1-Month/",
         "writable": false,
         "defaultInputFormat": null,
         "allowAccessOutsideWorkspace": false
       },
       "hourly": {
         "location": "/prod-condenser-logs-1-hour/",
         "writable": false,
         "defaultInputFormat": null,
         "allowAccessOutsideWorkspace": false
       }
     },
     "formats": {
       "log": {
         "type": "logRegex",
         "regex": "^(\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2},\\d{3}) - (\\w+) 
- (.*)|^(.+)",
         "extension": "log",
         "maxErrors": 100000,
         "schema": [
           {
             "fieldName": "log_timestamp",
             "fieldType": "TIMESTAMP",
             "format": "yyyy-MM-dd HH:mm:ss,SSS"
           },
           {
             "fieldName": "log_level"
           },
           {
             "fieldName": "structured_message"
           },
           {
             "fieldName": "unstructured_line"
           }
         ]
       }
     },
     "authMode": "SHARED_USER",
     "enabled": true
   }
   ```
   that is loaded corrrectly but  no change:
   ```
   UserRemoteException :        VALIDATION ERROR: From line 1, column 15 to 
line 1, column 32: Object '*' not found within 'az_wasbs.daily'
       
   org.apache.drill.common.exceptions.UserRemoteException: VALIDATION ERROR: 
From line 1, column 15 to line 1, column 32: Object '*' not found within 
'az_wasbs.daily'
   
   
   [Error Id: 6525cbfc-5cc7-4b81-ab1e-844aa6774256 ]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to