详情页标题前

阿里云云原生大数据计算服务 MaxCompute表-云淘科技

详情页1

PyODPS支持对MaxCompute表的基本操作,包括创建表创建表的Schema同步表更新获取表数据删除表表分区操作以及如何将表转换为DataFrame对象。

背景信息

PyODPS提供对MaxCompute表的基本操作方法。

操作

说明

基本操作

列出项目空间下的所有表、判断表是否存在、获取表等基本操作。

创建表的Schema

使用PyODPS创建表的Schema。

创建表

使用PyODPS创建表。

同步表更新

使用PyODPS同步表更新。

写入表数据

使用PyODPS向表中写入数据。

向表中插入一行记录

使用PyODPS向表中插入一行记录。

获取表数据

使用PyODPS获取表中数据。

删除表

使用PyODPS删除表。

转换表为DataFrame

使用PyODPS转换表为DataFrame。

表分区

使用PyODPS判断是否为分区表、遍历表全部分区、判断分区是否存在、创建分区等。

数据上传下载通道

使用PyODPS操作Tunnel向MaxCompute中上传或者下载数据。

说明

更多PyODPS方法说明,请参见Python SDK方法说明。

前提条件:准备运行环境

PyODPS支持在DataWorks的PyODPS节点或本地PC环境中运行,运行前您需先选择运行工具并准备好运行环境。

  • 使用DataWorks:创建好PyODPS 2节点或PyODPS 3节点,详情请参见通过DataWorks使用PyODPS。
  • 使用本地PC环境:安装好PyODPS并初始化ODPS入口对象。

基本操作

当前项目内的表操作

  • 列出项目空间下的所有表:

    o.list_tables()方法可以列出项目空间下的所有表。

    # 列出项目空间下的所有表。
    for table in o.list_tables():
        print(table)
  • 判断表是否存在:

    o.exist_table()方法可以判断表是否存在。

    print(o.exist_table('pyodps_iris'))
    # 返回True表示表pyodps_iris存在。
  • 获取表:

    入口对象的o.get_table()方法可以获取表。

    • 获取表的schema信息。

      t = o.get_table('pyodps_iris')
      print(t.schema)  # 获取表pyodps_iris的schema

      返回值示例如下。

      odps.Schema {
        sepallength           double      # 片长度(cm)
        sepalwidth            double      # 片宽度(cm)
        petallength           double      # 瓣长度(cm)
        petalwidth            double      # 瓣宽度(cm)
        name                  string      # 种类
      }
    • 获取表列信息。

      t = o.get_table('pyodps_iris')
      print(t.schema.columns)  # 获取表pyodps_iris的schema中的列信息

      返回值示例如下。

      [,
       ,
       ,
       ,
       ]
    • 获取表的某个列信息。

      t = o.get_table('pyodps_iris')
      print(t.schema['sepallength'])  # 获取表pyodps_iris的sepallength列信息

      返回值示例如下。

    • 获取表的某个列的备注信息。

      t = o.get_table('pyodps_iris')
      print(t.schema['sepallength'].comment)  # 获取表pyodps_iris的sepallength列的备注信息

      返回示例如下。

      片长度(cm)
    • 获取表的生命周期。

      t = o.get_table('pyodps_iris')
      print(t.lifecycle)  # 获取表pyodps_iris的生命周期

      返回值示例如下。

      -1
    • 获取表的创建时间。

      t = o.get_table('pyodps_iris')
      print(t.creation_time)  # 获取表pyodps_iris的创建时间
    • 获取表是否是虚拟视图。

      t = o.get_table('pyodps_iris')
      print(t.is_virtual_view)  # 获取表pyodps_iris是否是虚拟视图,返回False,表示不是。

    与上述示例类似,您也可以通过t.sizet.comment来获取表的大小、表备注等信息。

    跨项目的表操作

    您可以通过project参数,跨项目获取表。

    t = o.get_table('table_name', project='other_project')

    其中other_project为所跨的项目,table_name为跨项目获取的表名称。

创建表的Schema

初始化方法有如下两种:

  • 通过表的列以及可选的分区进行初始化。

    from odps.models import Schema, Column, Partition
    columns = [
        Column(name='num', type='bigint', comment='the column'),
        Column(name='num2', type='double', comment='the column2'),
    ]
    partitions = [Partition(name='pt', type='string', comment='the partition')]
    schema = Schema(columns=columns, partitions=partitions)

    初始化后,您可获取字段信息、分区信息等。

    • 获取所有字段信息。

      print(schema.columns)

      返回示例如下。

      [,
       ,
       ]
    • 获取分区字段。

      print(schema.partitions)

      返回示例如下。

      []
    • 获取非分区字段名称。

      print(schema.names)

      返回示例如下。

      ['num', 'num2']
    • 获取非分区字段类型。

      print(schema.types)

      返回示例如下。

      [bigint, double]
  • 使用Schema.from_lists()方法。该方法更容易调用,但无法直接设置列和分区的注释。

    from odps.models import Schema
    schema = Schema.from_lists(['num', 'num2'], ['bigint', 'double'], ['pt'], ['string'])
    print(schema.columns)

    返回值示例如下。

    [,
     ,
     ]

创建表

您可以使用o.create_table()方法创建表,使用方式有两种:使用表Schema方式、使用字段名和字段类型方式。同时创建表时表字段的数据类型有一定的限制条件,详情如下。

使用表Schema创建表

使用表Schema创建表时,您需要先创建表的Schema,然后通过Schema创建表。

#创建表的schema
from odps.models import Schema
schema = Schema.from_lists(['num', 'num2'], ['bigint', 'double'], ['pt'], ['string'])

#通过schema创建表
table = o.create_table('my_new_table', schema)

#只有不存在表时,才创建表。
table = o.create_table('my_new_table', schema, if_not_exists=True)

#设置生命周期。
table = o.create_table('my_new_table', schema, lifecycle=7)

表创建完成后,您可以通过print(o.exist_table('my_new_table'))验证表是否创建成功,返回True表示表创建成功。

使用字段名及字段类型创建表

#创建分区表my_new_table,可传入(表字段列表,分区字段列表)。
table = o.create_table('my_new_table', ('num bigint, num2 double', 'pt string'), if_not_exists=True)

#创建非分区表my_new_table02。
table = o.create_table('my_new_table02', 'num bigint, num2 double', if_not_exists=True)

表创建完成后,您可以通过print(o.exist_table('my_new_table'))验证表是否创建成功,返回True表示表创建成功。

使用字段名及字段类型创建表:新数据类型

未打开新数据类型开关时(默认关闭),创建表的数据类型只允许为BIGINT、DOUBLE、DECIMAL、STRING、DATETIME、BOOLEAN、MAP和ARRAY类型。如果您需要创建TINYINT和STRUCT等新数据类型字段的表,可以打开options.sql.use_odps2_extension = True开关,示例如下。

from odps import options
options.sql.use_odps2_extension = True
table = o.create_table('my_new_table', 'cat smallint, content struct')</code></pre>
</section>
<section>
<h2>同步表更新</h2>
<p>当一个表被其他程序更新,例如改变了Schema,可以调用<code data-tag="code" class="code">reload()</code>方法同步表的更新。</p>
<pre data-tag="codeblock" id="codeblock-g11-dew-pco" class="pre codeblock language-python"><code>#表schema变更
from odps.models import Schema
schema = Schema.from_lists(['num', 'num2'], ['bigint', 'double'], ['pt'], ['string'])

#通过reload()同步表更新
table = o.create_table('my_new_table', schema)
table.reload()</code></pre>
</section>
<section>
<h2>写入表数据</h2>
<ul>
<li>
<p>使用入口对象的<code data-tag="code" class="code">write_table()</code>方法写入数据。</p>
<p><i class="icon-note note important"></i><strong>重要 </strong></p>
<p>对于分区表,如果分区不存在,可以使用create_partition参数指定创建分区。</p>
<pre data-tag="codeblock" id="codeblock-v27-k8w-g9w" class="pre codeblock language-python"><code>records = [[111, 1.0],                 # 此处可以是list。
          [222, 2.0],
          [333, 3.0],
          [444, 4.0]]
o.write_table('my_new_table', records, partition='pt=test', create_partition=True)  #创建pt=test分区并写入数据</code></pre>
<p><i class="icon-note note note"></i><strong>说明 </strong></p>
<ul>
<li>
<p>每次调用<code data-tag="code" class="code">write_table()</code>方法,MaxCompute都会在服务端生成一个文件。该操作耗时较长,同时文件过多会降低后续的查询效率。因此,建议您在使用此方法时,一次性写入多组数据,或者传入一个生成器对象。</p>
</li>
<li>
<p>调用<code data-tag="code" class="code">write_table()</code>方法向表中写入数据时会追加到原有数据中。PyODPS不提供覆盖数据的选项,如果需要覆盖数据,请手动清除原有数据。对于非分区表,需要调用<code data-tag="code" class="code">table.truncate()</code>方法;对于分区表,需要删除分区后再建立新的分区。</p>
</li>
</ul>
</li>
<li>
<p>对表对象调用<code data-tag="code" class="code">open_writer()</code>方法写入数据。</p>
<pre data-tag="codeblock" id="codeblock-da2-xui-fq8" class="pre codeblock language-python"><code>t = o.get_table('my_new_table')
with t.open_writer(partition='pt=test02', create_partition=True) as writer:  #创建pt=test02分区并写入数据
    records = [[1, 1.0],                 # 此处可以是List。
              [2, 2.0],
              [3, 3.0],
              [4, 4.0]]
    writer.write(records)  # 这里Records可以是可迭代对象。</code></pre>
<p>如果是多级分区表,写入示例如下。</p>
<pre data-tag="codeblock" id="codeblock-toy-7gy-dz9" class="pre codeblock language-python"><code>t = o.get_table('test_table')
with t.open_writer(partition='pt1=test1,pt2=test2') as writer:  # 多级分区写法。
    records = [t.new_record([111, 'aaa', True]),   # 也可以是Record对象。
               t.new_record([222, 'bbb', False]),
               t.new_record([333, 'ccc', True]),
               t.new_record([444, '中文', False])]
    writer.write(records)</code></pre>
</li>
<li>
<p>使用多进程并行写数据。</p>
<p>每个进程写数据时共享同一个Session_ID,但是有不同的Block_ID。每个Block对应服务端的一个文件。主进程执行Commit,完成数据上传。</p>
<pre data-tag="codeblock" id="codeblock-nkg-9ft-hm1" class="pre codeblock language-python"><code>import random
from multiprocessing import Pool
from odps.tunnel import TableTunnel
def write_records(tunnel, table, session_id, block_id):
    # 对使用指定的ID创建Session。
    local_session = tunnel.create_upload_session(table.name, upload_id=session_id)
    # 创建Writer时指定Block_ID。
    with local_session.open_record_writer(block_id) as writer:
        for i in range(5):
            # 生成数据并写入对应Block。
            record = table.new_record([random.randint(1, 100), random.random()])
            writer.write(record)

if __name__ == '__main__':
    N_WORKERS = 3

    table = o.create_table('my_new_table', 'num bigint, num2 double', if_not_exists=True)
    tunnel = TableTunnel(o)
    upload_session = tunnel.create_upload_session(table.name)

    # 每个进程使用同一个Session_ID。
    session_id = upload_session.id

    pool = Pool(processes=N_WORKERS)
    futures = []
    block_ids = []
    for i in range(N_WORKERS):
        futures.append(pool.apply_async(write_records, (tunnel, table, session_id, i)))
        block_ids.append(i)
    [f.get() for f in futures]

    # 最后执行Commit,并指定所有Block。
    upload_session.commit(block_ids)</code></pre>
</li>
</ul>
</section>
<section>
<h2>向表中插入一行记录</h2>
<p>Record表示表的一行记录,对表对象调用<code data-tag="code" class="code">new_record()</code>方法即可创建一个新的Record。</p>
<pre data-tag="codeblock" id="codeblock-njn-wbr-twm" class="pre codeblock language-python"><code>t = o.get_table('test_table')
r = t.new_record(['val0', 'val1'])  # 值的个数必须等于表Schema的字段数。
r2 = t.new_record()     # 可以不传入值。
r2[0] = 'val0' # 通过偏移设置值。
r2['field1'] = 'val1'  # 通过字段名设置值。
r2.field1 = 'val1'  # 通过属性设置值。

print(record[0])  # 取第0个位置的值。
print(record['c_double_a'])  # 通过字段取值。
print(record.c_double_a)  # 通过属性取值。
print(record[0: 3])  # 切片操作。
print(record[0, 2, 3])  # 取多个位置的值。
print(record['c_int_a', 'c_double_a'])  # 通过多个字段取值。</code></pre>
</section>
<section>
<h2>获取表数据</h2>
<p>获取表数据的方法有多种,常用方法如下:</p>
<ul>
<li>
<p>使用入口对象的<code data-tag="code" class="code">read_table()</code>方法。</p>
<pre data-tag="codeblock" id="codeblock-lvr-936-wzf" class="pre codeblock language-python"><code># 处理一条记录。
for record in o.read_table('my_new_table', partition='pt=test'):
    print(record)</code></pre>
</li>
<li>
<p>如果您仅需要查看每个表最开始的小于1万条数据,可以对表对象调用<code data-tag="code" class="code">head()</code>方法。</p>
<pre data-tag="codeblock" id="codeblock-vii-6u4-l5a" class="pre codeblock language-python"><code>t = o.get_table('my_new_table')
# 处理每个Record对象。
for record in t.head(3):
    print(record)</code></pre>
</li>
<li>
<p>调用<code data-tag="code" class="code">open_reader()</code>方法读取数据。</p>
<ul>
<li>
<p>使用<code data-tag="code" class="code">with</code>表达式的写法如下。</p>
<pre data-tag="codeblock" id="codeblock-qlc-k9u-wsk" class="pre codeblock language-python"><code>t = o.get_table('my_new_table')
with t.open_reader(partition='pt=test') as reader:
count = reader.count
for record in reader[5:10]  # 可以执行多次,直到将Count数量的Record读完,此处可以改造成并行操作。
    print(record)  # 处理一条记录,例如打印记录本身</code></pre>
</li>
<li>
<p>不使用<code data-tag="code" class="code">with</code>表达式的写法如下。</p>
<pre data-tag="codeblock" id="codeblock-f7v-y7m-fo4" class="pre codeblock language-python"><code>reader = t.open_reader(partition='pt=test')
count = reader.count
for record in reader[5:10]  # 可以执行多次,直到将Count数量的Record读完,此处可以改造成并行操作。
    print(record)  # 处理一条记录,例如打印记录本身</code></pre>
</li>
</ul>
</li>
</ul>
</section>
<section>
<h2>删除表</h2>
<p>使用<code data-tag="code" class="code">delete_table()</code>方法删除已经存在的表。</p>
<pre data-tag="codeblock" id="codeblock-s0q-oln-352" class="pre codeblock language-python"><code>o.delete_table('my_table_name', if_exists=True)  # 只有表存在时,才删除表。
t.drop()  # Table对象存在时,直接调用Drop方法删除。</code></pre>
</section>
<section>
<h2>转换表为DataFrame</h2>
<p>PyODPS提供了DataFrame框架,支持以更方便的方式查询和操作MaxCompute数据。使用<code data-tag="code" class="code">to_df()</code>方法,即可转化为DataFrame对象。</p>
<pre data-tag="codeblock" id="codeblock-8s6-mwe-wzh" class="pre codeblock language-python"><code>table = o.get_table('my_table_name')
df = table.to_df()</code></pre>
</section>
<section>
<h2>表分区</h2>
<ul>
<li>
<p>判断是否为分区表。</p>
<pre data-tag="codeblock" id="codeblock-49s-5s6-box" class="pre codeblock language-python"><code>table = o.get_table('my_new_table')
if table.schema.partitions:
    print('Table %s is partitioned.' % table.name)</code></pre>
</li>
<li>
<p>遍历表全部分区。</p>
<pre data-tag="codeblock" id="codeblock-9k2-1oa-4u5" class="pre codeblock language-python"><code>table = o.get_table('my_new_table')
for partition in table.partitions:  # 遍历所有分区
    print(partition.name)  # 具体的遍历步骤,这里是打印分区名
for partition in table.iterate_partitions(spec='pt=test'):  # 遍历 pt=test 分区下的二级分区
    print(partition.name)  # 具体的遍历步骤,这里是打印分区名
for partition in table.iterate_partitions(spec='dt>20230119'):  # 遍历 dt>20230119 分区下的二级分区
    print(partition.name)  # 具体的遍历步骤,这里是打印分区名</code></pre>
<p><i class="icon-note note important"></i><strong>重要 </strong></p>
<p>PyODPS自0.11.3版本开始,支持为<code data-tag="code" class="code">iterate_partitions</code>指定逻辑表达式,如上述示例中的<code data-tag="code" class="code">dt>20230119</code>。</p>
</li>
<li>
<p>判断分区是否存在。</p>
<pre data-tag="codeblock" id="codeblock-a4g-9fg-teg" class="pre codeblock language-python"><code>table = o.get_table('my_new_table')
table.exist_partition('pt=test,sub=2015')</code></pre>
</li>
<li>
<p>获取分区。</p>
<pre data-tag="codeblock" id="codeblock-j7u-dxa-60j" class="pre codeblock language-python"><code>table = o.get_table('my_new_table')
partition = table.get_partition('pt=test')
print(partition.creation_time)
partition.size</code></pre>
</li>
<li>
<p>创建分区。</p>
<pre data-tag="codeblock" id="codeblock-ego-bqr-zqq" class="pre codeblock language-python"><code>t = o.get_table('my_new_table')
t.create_partition('pt=test', if_not_exists=True)  # 指定if_not_exists参数,分区不存在时才创建分区。</code></pre>
</li>
<li>
<p>删除分区。</p>
<pre data-tag="codeblock" id="codeblock-wii-9u2-ukd" class="pre codeblock language-python"><code>t = o.get_table('my_new_table')
t.delete_partition('pt=test', if_exists=True)  # 指定if_exists参数,分区存在时才删除分区。
partition.drop()  # 分区对象存在时,直接对分区对象调用Drop方法删除。</code></pre>
</li>
</ul>
</section>
<section>
<h2>数据上传下载通道</h2>
<p>Tunnel是MaxCompute的数据通道,用户可以通过Tunnel向MaxCompute中上传或者下载数据。</p>
<ul>
<li>
<p>上传数据示例</p>
<pre data-tag="codeblock" id="codeblock-09o-ttd-h20" class="pre codeblock language-python"><code>from odps.tunnel import TableTunnel

table = o.get_table('my_table')

tunnel = TableTunnel(odps)
upload_session = tunnel.create_upload_session(table.name, partition_spec='pt=test')

with upload_session.open_record_writer(0) as writer:
    record = table.new_record()
    record[0] = 'test1'
    record[1] = 'id1'
    writer.write(record)

    record = table.new_record(['test2', 'id2'])
    writer.write(record)

# 需要在 with 代码块外 commit,否则数据未写入即 commit,会导致报错
upload_session.commit([0])</code></pre>
</li>
<li>
<p>下载数据示例</p>
<pre data-tag="codeblock" id="codeblock-51q-8jz-j44" class="pre codeblock language-python"><code>from odps.tunnel import TableTunnel

tunnel = TableTunnel(odps)
download_session = tunnel.create_download_session('my_table', partition_spec='pt=test')
# 处理每条记录。
with download_session.open_record_reader(0, download_session.count) as reader:
    for record in reader:
        print(record)  # 具体的遍历步骤,这里是打印记录对象</code></pre>
</li>
</ul>
<p><i class="icon-note note note"></i><strong>说明 </strong></p>
<ul>
<li>
<p>PyODPS不支持上传外部表,例如OSS和OTS的表。</p>
</li>
<li>
<p>不推荐直接使用Tunnel接口,推荐您直接使用表对象的写和读接口。</p>
</li>
<li>
<p> 如果您安装了CPython,在安装PyODPS时会编译C代码,加速Tunnel的上传和下载。</p>
</li>
</ul>
</section>
<p>内容没看懂? 不太想学习?想快速解决? 有偿解决: <a href="https://www.yunxiaoer.com/contact" target="_blank" rel="nofollow noopener"> 联系专家</a><br /><br />阿里云企业补贴进行中:<a href="https://www.aliyun.com/benefit/developer/company?userCode=hwphg5jd" target="_blank" rel="nofollow noopener"> 马上申请</a><br /><br />腾讯云限时活动1折起,即将结束:<a href="https://curl.qcloud.com/A70CJpml" target="_blank" rel="nofollow noopener"> 马上收藏</a><br /><br /><a href="https://www.tongchenkeji.com" target="_blank" rel="nofollow noopener">同尘科技</a>为腾讯云授权服务中心。<br /><br /> 购买腾讯云产品享受折上折,更有现金返利:<a href="https://partner.cloud.tencent.com/invitation/1000335527856515320c0b7a3/100033670162" target="_blank" rel="nofollow noopener">同意关联,立享优惠</a></p>
                                                        <div class="entry-copyright"><p>转转请注明出处:<span>https://www.yunxiaoer.com/159696.html</span></p></div>                        </div>

                        <div class="entry-tag"><a href="https://www.yunxiaoer.com/tag/chuangjianbiao" rel="tag">创建表</a><a href="https://www.yunxiaoer.com/tag/chuangjianbiaodeschema" rel="tag">创建表的Schema</a><a href="https://www.yunxiaoer.com/tag/shanchubiao" rel="tag">删除表</a><a href="https://www.yunxiaoer.com/tag/tongbubiaogengxin" rel="tag">同步表更新</a><a href="https://www.yunxiaoer.com/tag/huoqubiaoshuju" rel="tag">获取表数据</a><a href="https://www.yunxiaoer.com/tag/biaofenqu" rel="tag">表分区</a><a href="https://www.yunxiaoer.com/tag/biaofenqucaozuo" rel="tag">表分区操作</a></div>
                        <div class="entry-action">
                            <div class="btn-zan" data-id="159696"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-thumb-up-fill"></use></svg></i> 赞 <span class="entry-action-num">(0)</span></div>

                                                    </div>

                        <div class="entry-bar">
                            <div class="entry-bar-inner">
                                                                <div class="entry-bar-info entry-bar-info2">
                                    <div class="info-item meta">
                                                                                    <a class="meta-item j-heart" href="javascript:;" data-id="159696"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-star"></use></svg></i> <span class="data">0</span></a>                                                                                                                    </div>
                                    <div class="info-item share">
                                        <a class="meta-item mobile j-mobile-share" href="javascript:;" data-id="159696" data-qrcode="https://www.yunxiaoer.com/159696.html"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-share"></use></svg></i> 生成海报</a>
                                                                                    <a class="meta-item wechat" data-share="wechat" target="_blank" rel="nofollow" href="#">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-wechat"></use></svg></i>                                            </a>
                                                                                    <a class="meta-item weibo" data-share="weibo" target="_blank" rel="nofollow" href="#">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-weibo"></use></svg></i>                                            </a>
                                                                                    <a class="meta-item qq" data-share="qq" target="_blank" rel="nofollow" href="#">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-qq"></use></svg></i>                                            </a>
                                                                                    <a class="meta-item qzone" data-share="qzone" target="_blank" rel="nofollow" href="#">
                                                <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-qzone"></use></svg></i>                                            </a>
                                                                            </div>
                                    <div class="info-item act">
                                        <a href="javascript:;" id="j-reading"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-article"></use></svg></i></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                                            <div class="entry-page">
                    <div class="entry-page-prev entry-page-nobg">
                <a href="https://www.yunxiaoer.com/159695.html" title="阿里云云原生大数据计算服务 MaxComputeSchema-云淘科技" rel="prev">
                    <span>阿里云云原生大数据计算服务 MaxComputeSchema-云淘科技</span>
                </a>
                <div class="entry-page-info">
                    <span class="pull-left"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-arrow-left-double"></use></svg></i> 上一篇</span>
                    <span class="pull-right">2023年12月10日</span>
                </div>
            </div>
                            <div class="entry-page-next entry-page-nobg">
                <a href="https://www.yunxiaoer.com/159697.html" title="阿里云云原生大数据计算服务 MaxComputeSQL-云淘科技" rel="next">
                    <span>阿里云云原生大数据计算服务 MaxComputeSQL-云淘科技</span>
                </a>
                <div class="entry-page-info">
                    <span class="pull-right">下一篇 <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-arrow-right-double"></use></svg></i></span>
                    <span class="pull-left">2023年12月10日</span>
                </div>
            </div>
            </div>
                    <div class="wpcom_myimg_wrap __single_2">详情页2</div>                                            <div class="entry-related-posts">
                            <h3 class="entry-related-title">相关推荐</h3><ul class="entry-related cols-3 post-loop post-loop-default"><li class="item">
        <div class="item-img">
        <a class="item-img-inner" href="https://www.yunxiaoer.com/172533.html" title="阿里云大数据开发治理平台 DataWorks建表并上传数据-云淘科技" target="_blank" rel="bookmark">
            <img width="480" height="300" src="https://www.yunxiaoer.com/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="阿里云大数据开发治理平台 DataWorks建表并上传数据-云淘科技" decoding="async" fetchpriority="high" data-original="https://www.yunxiaoer.com/wp-content/uploads/2023/12/20231210084118-657579ae3f662-480x300.png" />        </a>
                <a class="item-category" href="https://www.yunxiaoer.com/aliyun/dataworks" target="_blank">阿里云大数据开发治理平台 DataWorks</a>
            </div>
        <div class="item-content">
                <h4 class="item-title">
            <a href="https://www.yunxiaoer.com/172533.html" target="_blank" rel="bookmark">
                                 阿里云大数据开发治理平台 DataWorks建表并上传数据-云淘科技            </a>
        </h4>
        <div class="item-excerpt">
            <p>本文以创建表bank_data和result_table为例,为您介绍如何通过DataWorks创建表并上传数据。 前提条件 您在工作空间配置页面添加MaxCompute计算引擎实例后,当前页面才会显示MaxCompute目录。详情请参见创建并管理工作空间。 背景信息 表bank_data用于存储业务数据,表result_table用于存储数据分析后产生的结…</p>
        </div>
        <div class="item-meta">
                                    <span class="item-meta-li date">2023年12月10日</span>
            <div class="item-meta-right">
                <span class="item-meta-li likes" title="点赞数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-thumb-up"></use></svg></i>0</span>            </div>
        </div>
    </div>
</li>
<li class="item item-no-thumb">
        <div class="item-content">
                <h4 class="item-title">
            <a href="https://www.yunxiaoer.com/158352.html" target="_blank" rel="bookmark">
                                 阿里云云原生大数据计算服务 MaxCompute表操作-云淘科技            </a>
        </h4>
        <div class="item-excerpt">
            <p>表是MaxCompute的数据存储单元。数据仓库的开发、分析及运维都需要对表数据进行处理。本文为您介绍如何创建、删除和查看表等常用表操作。 表操作常用命令如下。表操作详情请参见表操作。 类型 功能 角色 操作入口 创建表 创建非分区表或分区表。 具备项目空间创建表权限(CreateTable)的用户。 本文中的命令您可以在如下工具平台执行: MaxCompu…</p>
        </div>
        <div class="item-meta">
                                            <a class="item-meta-li" href="https://www.yunxiaoer.com/aliyun/maxcompute" target="_blank">阿里云大数据计算服务MaxCompute</a>
                            <span class="item-meta-li date">2023年12月10日</span>
            <div class="item-meta-right">
                <span class="item-meta-li likes" title="点赞数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-thumb-up"></use></svg></i>0</span>            </div>
        </div>
    </div>
</li>
<li class="item">
        <div class="item-img">
        <a class="item-img-inner" href="https://www.yunxiaoer.com/172310.html" title="阿里云大数据开发治理平台 DataWorks创建Hologres外部表-云淘科技" target="_blank" rel="bookmark">
            <img width="480" height="300" src="https://www.yunxiaoer.com/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="阿里云大数据开发治理平台 DataWorks创建Hologres外部表-云淘科技" decoding="async" data-original="https://www.yunxiaoer.com/wp-content/uploads/2023/12/20231210080321-657570c9da291-480x300.png" />        </a>
                <a class="item-category" href="https://www.yunxiaoer.com/aliyun/dataworks" target="_blank">阿里云大数据开发治理平台 DataWorks</a>
            </div>
        <div class="item-content">
                <h4 class="item-title">
            <a href="https://www.yunxiaoer.com/172310.html" target="_blank" rel="bookmark">
                                 阿里云大数据开发治理平台 DataWorks创建Hologres外部表-云淘科技            </a>
        </h4>
        <div class="item-excerpt">
            <p>Hologres可通过DDL方式创建Hologres外部表,也可使用DataWorks提供的可视化方式创建。本文为您介绍如何使用DataWorks可视化方式创建Hologres外部表。 前提条件 工作空间已绑定Hologres引擎。详情请参见绑定Hologres计算引擎。 创建表的用户具备开发权限角色,空间管理员或开发。授权详情请参见空间级模块权限管控。 背…</p>
        </div>
        <div class="item-meta">
                                    <span class="item-meta-li date">2023年12月10日</span>
            <div class="item-meta-right">
                <span class="item-meta-li likes" title="点赞数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-thumb-up"></use></svg></i>0</span>            </div>
        </div>
    </div>
</li>
<li class="item item-myimg"><div class="wpcom_myimg_wrap __flow">信息流广告,信息流部分建议宽度830px,只针对默认列表样式,顺序随机</div></li><li class="item item-no-thumb">
        <div class="item-content">
                <h4 class="item-title">
            <a href="https://www.yunxiaoer.com/158053.html" target="_blank" rel="bookmark">
                                 阿里云云原生大数据计算服务 MaxCompute删除表或MaxCompute项目-云淘科技            </a>
        </h4>
        <div class="item-excerpt">
            <p>如果您不再需要示例数据或MaxCompute项目,可以删除数据或MaxCompute项目,以免产生不必要的资源浪费及账单费用。本文为您介绍如何删除表或MaxCompute项目。 背景信息 您可以根据实际需要判断是否要保留示例数据及MaxCompute项目: 如果需要保留示例数据,以供参考,存储的数据会在账户下产生存储费用,计费规则请参见存储费用。 如果不需要…</p>
        </div>
        <div class="item-meta">
                                            <a class="item-meta-li" href="https://www.yunxiaoer.com/aliyun/maxcompute" target="_blank">阿里云大数据计算服务MaxCompute</a>
                            <span class="item-meta-li date">2023年12月10日</span>
            <div class="item-meta-right">
                <span class="item-meta-li likes" title="点赞数"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-thumb-up"></use></svg></i>0</span>            </div>
        </div>
    </div>
</li>
</ul>                        </div>
                                    </article>
                    </main>
            <aside class="sidebar">
        <div class="widget widget_image_myimg">            <a href="https://curl.qcloud.com/JZWLkm4b" target="_blank" rel="nofollow">
                <img class="j-lazy" src="https://www.yunxiaoer.com/wp-content/themes/justnews/themer/assets/images/lazy.png" data-original="//www.yunxiaoer.com/wp-content/uploads/2023/12/500x500.jpg" alt="腾讯云2860元无门槛代金券">            </a>
        </div><div class="widget widget_post_thumb"><h3 class="widget-title"><span>最新发布</span></h3>            <ul>
                                    <li class="item">
                                                    <div class="item-img">
                                <a class="item-img-inner" href="https://www.yunxiaoer.com/184027.html" title="宜搭,流程审批中,根据不同审批结果,跳转到本节点再审批。-云小二-阿里云">
                                    <img width="480" height="300" src="https://www.yunxiaoer.com/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="宜搭,流程审批中,根据不同审批结果,跳转到本节点再审批。-云小二-阿里云" decoding="async" data-original="https://www.yunxiaoer.com/wp-content/uploads/2024/01/20240111123930-659fe182670ae-480x300.png" />                                </a>
                            </div>
                                                <div class="item-content">
                            <p class="item-title"><a href="https://www.yunxiaoer.com/184027.html" title="宜搭,流程审批中,根据不同审批结果,跳转到本节点再审批。-云小二-阿里云">宜搭,流程审批中,根据不同审批结果,跳转到本节点再审批。-云小二-阿里云</a></p>
                            <p class="item-date">2024年1月11日</p>
                        </div>
                    </li>
                                    <li class="item">
                                                <div class="item-content item-no-thumb">
                            <p class="item-title"><a href="https://www.yunxiaoer.com/182052.html" title="宜搭没有功能聚合数组在一个字段里吗-云小二-阿里云">宜搭没有功能聚合数组在一个字段里吗-云小二-阿里云</a></p>
                            <p class="item-date">2024年1月11日</p>
                        </div>
                    </li>
                                    <li class="item">
                                                    <div class="item-img">
                                <a class="item-img-inner" href="https://www.yunxiaoer.com/182106.html" title="护照识别接口,在运golang版本的sdk示例时一直报file already closed 的错误-云小二-阿里云">
                                    <img width="480" height="300" src="https://www.yunxiaoer.com/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="护照识别接口,在运golang版本的sdk示例时一直报file already closed 的错误-云小二-阿里云" decoding="async" data-original="https://www.yunxiaoer.com/wp-content/uploads/2024/01/20240111120856-659fda58ad023-480x300.png" />                                </a>
                            </div>
                                                <div class="item-content">
                            <p class="item-title"><a href="https://www.yunxiaoer.com/182106.html" title="护照识别接口,在运golang版本的sdk示例时一直报file already closed 的错误-云小二-阿里云">护照识别接口,在运golang版本的sdk示例时一直报file already closed 的错误-云小二-阿里云</a></p>
                            <p class="item-date">2024年1月11日</p>
                        </div>
                    </li>
                                    <li class="item">
                                                <div class="item-content item-no-thumb">
                            <p class="item-title"><a href="https://www.yunxiaoer.com/182050.html" title="云小二:宝塔青龙面板如何升级教程">云小二:宝塔青龙面板如何升级教程</a></p>
                            <p class="item-date">2024年1月11日</p>
                        </div>
                    </li>
                            </ul>
        </div><div class="widget widget_post_tabs">
        <div class="post-tabs-hd">
                        <div class="post-tabs-hd-inner post-tabs-2">
                                    <div class="post-tabs-item j-post-tab active">
                        <i class="wpcom-icon fa fa-amazon"></i>阿里云                    </div>
                                    <div class="post-tabs-item j-post-tab">
                        <i class="wpcom-icon fa fa-anchor"></i>腾讯云                    </div>
                            </div>
        </div>
                    <ul class="post-tabs-list j-post-tab-wrap active">
                        <li class="item">
                            <div class="item-img">
                    <a class="item-img-inner" href="https://www.yunxiaoer.com/184027.html" title="宜搭,流程审批中,根据不同审批结果,跳转到本节点再审批。-云小二-阿里云">
                        <img width="480" height="300" src="https://www.yunxiaoer.com/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="宜搭,流程审批中,根据不同审批结果,跳转到本节点再审批。-云小二-阿里云" decoding="async" data-original="https://www.yunxiaoer.com/wp-content/uploads/2024/01/20240111123930-659fe182670ae-480x300.png" />                    </a>
                </div>
                        <div class="item-content">
                <p class="item-title"><a href="https://www.yunxiaoer.com/184027.html" title="宜搭,流程审批中,根据不同审批结果,跳转到本节点再审批。-云小二-阿里云">宜搭,流程审批中,根据不同审批结果,跳转到本节点再审批。-云小二-阿里云</a></p>
                <p class="item-date">2024年1月11日</p>
            </div>
        </li>
            <li class="item">
                        <div class="item-content item-no-thumb">
                <p class="item-title"><a href="https://www.yunxiaoer.com/182052.html" title="宜搭没有功能聚合数组在一个字段里吗-云小二-阿里云">宜搭没有功能聚合数组在一个字段里吗-云小二-阿里云</a></p>
                <p class="item-date">2024年1月11日</p>
            </div>
        </li>
            <li class="item">
                            <div class="item-img">
                    <a class="item-img-inner" href="https://www.yunxiaoer.com/182106.html" title="护照识别接口,在运golang版本的sdk示例时一直报file already closed 的错误-云小二-阿里云">
                        <img width="480" height="300" src="https://www.yunxiaoer.com/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="护照识别接口,在运golang版本的sdk示例时一直报file already closed 的错误-云小二-阿里云" decoding="async" data-original="https://www.yunxiaoer.com/wp-content/uploads/2024/01/20240111120856-659fda58ad023-480x300.png" />                    </a>
                </div>
                        <div class="item-content">
                <p class="item-title"><a href="https://www.yunxiaoer.com/182106.html" title="护照识别接口,在运golang版本的sdk示例时一直报file already closed 的错误-云小二-阿里云">护照识别接口,在运golang版本的sdk示例时一直报file already closed 的错误-云小二-阿里云</a></p>
                <p class="item-date">2024年1月11日</p>
            </div>
        </li>
            <li class="item">
                            <div class="item-img">
                    <a class="item-img-inner" href="https://www.yunxiaoer.com/182140.html" title="负载均衡产品(ALB、CLB、NLB)支持的最大的带宽是多少?-云小二-阿里云">
                        <img width="480" height="300" src="https://www.yunxiaoer.com/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="负载均衡产品(ALB、CLB、NLB)支持的最大的带宽是多少?-云小二-阿里云" decoding="async" data-original="https://www.yunxiaoer.com/wp-content/uploads/2024/01/20240111120932-659fda7c97b5c-480x300.png" />                    </a>
                </div>
                        <div class="item-content">
                <p class="item-title"><a href="https://www.yunxiaoer.com/182140.html" title="负载均衡产品(ALB、CLB、NLB)支持的最大的带宽是多少?-云小二-阿里云">负载均衡产品(ALB、CLB、NLB)支持的最大的带宽是多少?-云小二-阿里云</a></p>
                <p class="item-date">2024年1月11日</p>
            </div>
        </li>
            <li class="item">
                            <div class="item-img">
                    <a class="item-img-inner" href="https://www.yunxiaoer.com/182101.html" title="机器学习PAI尝试编译一个cpu版本的时候用了如下文档的过程?-云小二-阿里云">
                        <img width="480" height="300" src="https://www.yunxiaoer.com/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="机器学习PAI尝试编译一个cpu版本的时候用了如下文档的过程?-云小二-阿里云" decoding="async" data-original="https://www.yunxiaoer.com/wp-content/uploads/2024/01/20240111120857-659fda595df94-480x300.png" />                    </a>
                </div>
                        <div class="item-content">
                <p class="item-title"><a href="https://www.yunxiaoer.com/182101.html" title="机器学习PAI尝试编译一个cpu版本的时候用了如下文档的过程?-云小二-阿里云">机器学习PAI尝试编译一个cpu版本的时候用了如下文档的过程?-云小二-阿里云</a></p>
                <p class="item-date">2024年1月11日</p>
            </div>
        </li>
                </ul>
                    <ul class="post-tabs-list j-post-tab-wrap">
                        <li class="item">
                        <div class="item-content item-no-thumb">
                <p class="item-title"><a href="https://www.yunxiaoer.com/150192.html" title="腾讯云云函数(SCF)词汇表-云淘科技">腾讯云云函数(SCF)词汇表-云淘科技</a></p>
                <p class="item-date">2023年12月9日</p>
            </div>
        </li>
            <li class="item">
                            <div class="item-img">
                    <a class="item-img-inner" href="https://www.yunxiaoer.com/150191.html" title="腾讯云云函数(SCF)联系我们-云淘科技">
                        <img width="480" height="300" src="https://www.yunxiaoer.com/wp-content/themes/justnews/themer/assets/images/lazy.png" class="attachment-default size-default wp-post-image j-lazy" alt="腾讯云云函数(SCF)联系我们-云淘科技" decoding="async" data-original="https://www.yunxiaoer.com/wp-content/uploads/2023/12/20231209053410-6573fc525c32f-480x300.png" />                    </a>
                </div>
                        <div class="item-content">
                <p class="item-title"><a href="https://www.yunxiaoer.com/150191.html" title="腾讯云云函数(SCF)联系我们-云淘科技">腾讯云云函数(SCF)联系我们-云淘科技</a></p>
                <p class="item-date">2023年12月9日</p>
            </div>
        </li>
            <li class="item">
                        <div class="item-content item-no-thumb">
                <p class="item-title"><a href="https://www.yunxiaoer.com/150189.html" title="腾讯云云函数(SCF)网络服务协议-云淘科技">腾讯云云函数(SCF)网络服务协议-云淘科技</a></p>
                <p class="item-date">2023年12月9日</p>
            </div>
        </li>
            <li class="item">
                        <div class="item-content item-no-thumb">
                <p class="item-title"><a href="https://www.yunxiaoer.com/150188.html" title="腾讯云云函数(SCF)服务等级协议-云淘科技">腾讯云云函数(SCF)服务等级协议-云淘科技</a></p>
                <p class="item-date">2023年12月9日</p>
            </div>
        </li>
            <li class="item">
                        <div class="item-content item-no-thumb">
                <p class="item-title"><a href="https://www.yunxiaoer.com/150187.html" title="腾讯云云函数(SCF)SCF 工具相关问题-云淘科技">腾讯云云函数(SCF)SCF 工具相关问题-云淘科技</a></p>
                <p class="item-date">2023年12月9日</p>
            </div>
        </li>
                </ul>
        </div>    </aside>
    </div>
</div>
<footer class="footer">
    <div class="container">
        <div class="footer-col-wrap footer-with-logo-icon">
                        <div class="footer-col footer-col-logo">
                <img src="//www.yunxiaoer.com/wp-content/uploads/2023/12/logo-footer.png" alt="云小二">
            </div>
                        <div class="footer-col footer-col-copy">
                <ul class="footer-nav hidden-xs"><li id="menu-item-152" class="menu-item menu-item-152"><a href="https://www.yunxiaoer.com/contact">联系我们</a></li>
<li id="menu-item-130" class="menu-item menu-item-130"><a href="https://www.yunxiaoer.com/cloud/hangyedongtai">行业动态</a></li>
<li id="menu-item-157" class="menu-item menu-item-157"><a href="https://www.yunxiaoer.com/special">专题列表</a></li>
<li id="menu-item-129" class="menu-item menu-item-129"><a href="https://www.yunxiaoer.com/members">用户列表</a></li>
<li id="menu-item-8750" class="menu-item menu-item-8750"><a href="https://www.yunxiaoer.com/jianzhan/yuming">域名</a></li>
<li id="menu-item-8804" class="menu-item menu-item-8804"><a href="https://www.yunxiaoer.com/yunfuwuqi">云服务器</a></li>
</ul>                <div class="copyright">
                    <p>Copyright © 2023 云小二 www.yunxiaoer.com 版权所有 <a href="https://beian.miit.gov.cn" target="_blank" rel="nofollow noopener noreferrer">豫ICP备19008792号-1</a></p>
                </div>
            </div>
                        <div class="footer-col footer-col-sns">
                <div class="footer-sns">
                                                <a class="sns-wx" href="javascript:;" aria-label="icon">
                                <i class="wpcom-icon fa fa-apple sns-icon"></i>                                <span style="background-image:url('');"></span>                            </a>
                                                    <a class="sns-wx" href="javascript:;" aria-label="icon">
                                <i class="wpcom-icon fa fa-android sns-icon"></i>                                <span style="background-image:url('');"></span>                            </a>
                                                    <a class="sns-wx" href="javascript:;" aria-label="icon">
                                <i class="wpcom-icon fa fa-weixin sns-icon"></i>                                <span style="background-image:url('');"></span>                            </a>
                                                    <a href="http://weibo.com/iztme" target="_blank" rel="nofollow" aria-label="icon">
                                <i class="wpcom-icon fa fa-weibo sns-icon"></i>                                                            </a>
                                        </div>
            </div>
                    </div>
    </div>
</footer>
            <div class="action action-style-0 action-color-1 action-pos-1" style="bottom:120px;">
                                                <div class="action-item">
                                    <i class="wpcom-icon fa fa-comments action-item-icon"></i>                                                                        <div class="action-item-inner action-item-type-2">
                                        <h3 style="text-align: center;">联系我们</h3>
<h5 style="text-align: center;"><span style="color: #2d6ded; font-size: 24px; line-height: 2;"><strong>400-800-8888</strong></span></h5>
<p>在线咨询:<a class="btn btn-primary btn-xs" href="http://wpa.qq.com/msgrd?uin=10000" target="_blank" rel="noopener noreferrer"><i class="wpcom-icon fa fa-qq"></i> QQ交谈</a></p>
<p>邮件:admin@example.com</p>
<p>工作时间:周一至周五,9:30-18:30,节假日休息</p>
                                    </div>
                                </div>
                                                                                    <div class="action-item">
                                    <i class="wpcom-icon fa fa-wechat action-item-icon"></i>                                                                        <div class="action-item-inner action-item-type-1">
                                        <img class="action-item-img" src="" alt="关注微信">                                    </div>
                                </div>
                                                                                        <div class="action-item j-share">
                        <i class="wpcom-icon wi action-item-icon"><svg aria-hidden="true"><use xlink:href="#wi-share"></use></svg></i>                                            </div>
                                    <div class="action-item gotop j-top">
                        <i class="wpcom-icon wi action-item-icon"><svg aria-hidden="true"><use xlink:href="#wi-arrow-up-2"></use></svg></i>                                            </div>
                            </div>
        <script type="speculationrules">
{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/justnews\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]}
</script>
<script type="text/javascript" id="main-js-extra">
/* <![CDATA[ */
var _wpcom_js = {"webp":"","ajaxurl":"https:\/\/www.yunxiaoer.com\/wp-admin\/admin-ajax.php","theme_url":"https:\/\/www.yunxiaoer.com\/wp-content\/themes\/justnews","slide_speed":"3000","is_admin":"0","lang":"zh_CN","js_lang":{"share_to":"\u5206\u4eab\u5230:","copy_done":"\u590d\u5236\u6210\u529f\uff01","copy_fail":"\u6d4f\u89c8\u5668\u6682\u4e0d\u652f\u6301\u62f7\u8d1d\u529f\u80fd","confirm":"\u786e\u5b9a","qrcode":"\u4e8c\u7ef4\u7801","page_loaded":"\u5df2\u7ecf\u5230\u5e95\u4e86","no_content":"\u6682\u65e0\u5185\u5bb9","load_failed":"\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","expand_more":"\u9605\u8bfb\u5269\u4f59 %s"},"share":"1","lightbox":"1","post_id":"159696","user_card_height":"356","poster":{"notice":"\u8bf7\u957f\u6309\u4fdd\u5b58\u56fe\u7247\uff0c\u5c06\u5185\u5bb9\u5206\u4eab\u7ed9\u66f4\u591a\u597d\u53cb","generating":"\u6b63\u5728\u751f\u6210\u6d77\u62a5\u56fe\u7247...","failed":"\u6d77\u62a5\u56fe\u7247\u751f\u6210\u5931\u8d25"},"video_height":"484","fixed_sidebar":"1","dark_style":"0","font_url":"\/\/fonts.googleapis.com\/css2?family=Noto+Sans+SC:wght@400;500&display=swap","follow_btn":"<i class=\"wpcom-icon wi\"><svg aria-hidden=\"true\"><use xlink:href=\"#wi-add\"><\/use><\/svg><\/i>\u5173\u6ce8","followed_btn":"\u5df2\u5173\u6ce8","user_card":"1"};
/* ]]> */
</script>
<script type="text/javascript" src="https://www.yunxiaoer.com/wp-content/themes/justnews/js/main.js?ver=6.16.3" id="main-js"></script>
<script type="text/javascript" src="https://www.yunxiaoer.com/wp-content/themes/justnews/themer/assets/js/icons-2.7.16.js?ver=6.16.3" id="wpcom-icons-js"></script>
<script type="text/javascript" id="wpcom-member-js-extra">
/* <![CDATA[ */
var _wpmx_js = {"ajaxurl":"https:\/\/www.yunxiaoer.com\/wp-admin\/admin-ajax.php","plugin_url":"https:\/\/www.yunxiaoer.com\/wp-content\/plugins\/wpcom-member\/","post_id":"159696","js_lang":{"login_desc":"\u60a8\u8fd8\u672a\u767b\u5f55\uff0c\u8bf7\u767b\u5f55\u540e\u518d\u8fdb\u884c\u76f8\u5173\u64cd\u4f5c\uff01","login_title":"\u8bf7\u767b\u5f55","login_btn":"\u767b\u5f55","reg_btn":"\u6ce8\u518c"},"login_url":"\/159696.html?modal-type=login","register_url":"\/159696.html?modal-type=register","errors":{"require":"\u4e0d\u80fd\u4e3a\u7a7a","email":"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u7535\u5b50\u90ae\u7bb1","pls_enter":"\u8bf7\u8f93\u5165","password":"\u5bc6\u7801\u5fc5\u987b\u4e3a6~32\u4e2a\u5b57\u7b26","passcheck":"\u4e24\u6b21\u5bc6\u7801\u8f93\u5165\u4e0d\u4e00\u81f4","phone":"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\u7801","terms":"\u8bf7\u9605\u8bfb\u5e76\u540c\u610f\u6761\u6b3e","sms_code":"\u9a8c\u8bc1\u7801\u9519\u8bef","captcha_verify":"\u8bf7\u70b9\u51fb\u6309\u94ae\u8fdb\u884c\u9a8c\u8bc1","captcha_fail":"\u4eba\u673a\u9a8c\u8bc1\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5","nonce":"\u968f\u673a\u6570\u6821\u9a8c\u5931\u8d25","req_error":"\u8bf7\u6c42\u5931\u8d25"}};
/* ]]> */
</script>
<script type="text/javascript" src="https://www.yunxiaoer.com/wp-content/plugins/wpcom-member/js/index.js?ver=1.7.8" id="wpcom-member-js"></script>
<script type="text/javascript" src="https://www.yunxiaoer.com/wp-content/themes/justnews/js/wp-embed.js?ver=6.16.3" id="wp-embed-js"></script>
            <div class="top-news" style="background-color: #206BE7;background-image:linear-gradient(90deg, #206BE7 0%, #1E86FF 100%);">
                <div class="top-news-content container">
                    <div class="content-text">本站为广大会员提供阿里云、腾讯云、华为云、百度云等一线大厂的购买,续费优惠,保证底价,买贵退差。</div>
                    <i class="wpcom-icon wi top-news-close"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i>                </div>
            </div>
        <script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?4e73c8fde9b02d109e67254d1f25f594";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

    <script type="application/ld+json">
        {
            "@context": "https://schema.org",
            "@type": "Article",
            "@id": "https://www.yunxiaoer.com/159696.html",
            "url": "https://www.yunxiaoer.com/159696.html",
            "headline": "阿里云云原生大数据计算服务 MaxCompute表-云淘科技",
            "description": "PyODPS支持对MaxCompute表的基本操作,包括创建表、创建表的Schema、同步表更新、获取表数据、删除表、表分区操作以及如何将表转换为DataFrame对象。 背景信息 PyODPS提供对MaxCompute表的基本操作方法。 操作 说明 基本操作 列出项目空间下的所有表、判断表是否存在、获取表等基本操作。…",
            "datePublished": "2023-12-10T01:51:15",
            "dateModified": "2023-12-10T01:51:15",
            "author": {"@type":"Person","name":"匿名投稿","url":"https://www.yunxiaoer.com/%e4%ba%91%e5%b0%8f%e4%ba%8c-01/1","image":"//www.yunxiaoer.com/wp-content/uploads/2018/07/f9352ad8b4a1ce8c616fe60de409e340.jpg"}        }
    </script>
</body>
</html>