alamb commented on issue #14608:
URL: https://github.com/apache/datafusion/issues/14608#issuecomment-2770127700

   @scsmithr of GlareDB integrated the tpchgen library in glaredb as a table 
function
   - https://github.com/GlareDB/glaredb/pull/3549
   
   Which is quite cool
   
   ```shell
   glaredb> .maxrows 10
   glaredb> select * from tpch_gen.lineitem(1);
   
┌────────────┬───────────┬───────────┬──────────────┬────────────┬─────────────────┬───┬──────────────┬───────────────┬────────────────┬────────────┬────────────┐
   │ l_orderkey │ l_partkey │ l_suppkey │ l_linenumber │ l_quantity │ 
l_extendedprice │ … │ l_commitdate │ l_receiptdate │ l_shipinstruct │ 
l_shipmode │ l_comment  │
   │ Int64      │ Int64     │ Int64     │ Int32        │ Int64      │ 
Decimal64(15,2) │   │ Date32       │ Date32        │ Utf8           │ Utf8      
 │ Utf8       │
   
├────────────┼───────────┼───────────┼──────────────┼────────────┼─────────────────┼───┼──────────────┼───────────────┼────────────────┼────────────┼────────────┤
   │          1 │    155190 │      7706 │            1 │         17 │        
21168.23 │ … │ 1996-11-05   │ 1996-12-14    │ DELIVER IN PE… │ TRUCK      │ 
egular co… │
   │          1 │     67310 │      7311 │            2 │         36 │        
45983.16 │ … │ 1996-11-21   │ 1997-01-12    │ TAKE BACK RET… │ MAIL       │ ly 
final … │
   │          1 │     63700 │      3701 │            3 │          8 │        
13309.60 │ … │ 1996-11-27   │ 1996-10-24    │ TAKE BACK RET… │ REG AIR    │ 
riously. … │
   │          1 │      2132 │      4633 │            4 │         28 │        
28955.64 │ … │ 1996-12-22   │ 1997-02-07    │ NONE           │ AIR        │ 
lites. fl… │
   │          1 │     24027 │      1534 │            5 │         24 │        
22824.48 │ … │ 1996-12-06   │ 1996-12-24    │ NONE           │ FOB        │  
pending … │
   │          … │         … │         … │            … │          … │           
    … │ … │ …            │ …             │ …              │ …          │ …      
    │
   │    5999975 │      7272 │      2273 │            1 │         32 │        
37736.64 │ … │ 1994-06-24   │ 1994-07-15    │ COLLECT COD    │ REG AIR    │ 
tructions… │
   │    5999975 │      6452 │      1453 │            2 │          7 │         
9509.15 │ … │ 1994-06-17   │ 1994-08-13    │ DELIVER IN PE… │ SHIP       │ lar 
pinto… │
   │    5999975 │     37131 │      2138 │            3 │         18 │        
19226.34 │ … │ 1994-05-22   │ 1994-09-01    │ DELIVER IN PE… │ FOB        │ , 
quick d… │
   │    6000000 │     32255 │      2256 │            1 │          5 │         
5936.25 │ … │ 1997-08-13   │ 1997-08-25    │ TAKE BACK RET… │ MAIL       │ 
carefully  │
   │    6000000 │     96127 │      6128 │            2 │         28 │        
31447.36 │ … │ 1997-06-25   │ 1997-07-15    │ NONE           │ AIR        │ 
ooze furi… │
   
├────────────┴───────────┴───────────┴──────────────┴────────────┴─────────────────┴───┴──────────────┴───────────────┴────────────────┴────────────┴────────────┤
   │ 6001215 rows, 10 shown                                                     
                                                                                
    │
   
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
   ```


-- 
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: github-unsubscr...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to